jez123456 wrote:
Hi
Is there anyway to display the percentage value completed in a
Progressbar. I've found a Microsoft link
http://support.microsoft.com/default.../323116/EN-US/
to create a smooth progessbar but there is no percent propery.
Thanks
Inside the Value() method, call another (new) method to calculate the
percentage, build the representing string and paint the representig string
onto the appropriate position inside Value()'s newValueRect. You might want
to introduce a new property for the color to use (like
"percentageStringColor" similar to ProgressBarColor. Be sure to invalidate
the area you paint the String on.
HTH
Michael