Progress bar question

elmowatson

Member
Joined
Jun 5, 2007
Messages
17
Programming Experience
1-3
2 questions:
1. How, programmatically, can you tell if a progress bar is at its max?
2. If it's at it's max, how can you reset it to zero?

thanks
 
I suggest that you read the documentation for the ProgressBar class. It will provide the name and a description of every member of the class and, once you've read them, the answers to your questions should be fairly obvious.

Always do what you can for yourself first. If you know exactly what class and/or member you're interested in, reading the documentation for that type or member should ALWAYS be the first thing you do.

Having said all that, what exactly are you trying to achieve? Are trying to just repeatedly file and reset a progress bar over and over because you can't measure the actual progress? If so then you don't need to do what you're suggesting. The ProgressBar class already has that covered, which you can also discover by reading the documentation.
 
Back
Top