I think the only option you have is to parse the textbox content and convert it to numbers (based on your own logic). To show a progress bar, you need two values. current value and maximum value. i guess, in your case, maximum is 100 and current is the highest nummer entered to the textbox.