Progressbar text

Johnson

Well-known member
Joined
Mar 6, 2009
Messages
158
Programming Experience
Beginner
Is this possible to achive with the common control(simply)

I have been searching for an hour now and all i have seen is with a custom control using system drawing.
 
Although the ProgressBar has a Text property, Microsoft have arranged things so that its value is never shown.
So if you want to display any text e.g. 15%, at the very least you will have to override the OnPaint method but that could get very complicated.
You might well save yourself a lot of grief by choosing one of the custom versions you have found.

Take a look at this thread from a few years ago here on VB.NET Forums Text inside a ProgressBar
 
Hey,

I actually found that thread via google. I cant belive m$ has made this much harder then needed.

I decided in the end with a label above the bar.

but thanks
 
Back
Top