Showing Text in/over a progressbar?

  • Thread starter Thread starter Terry Olsen
  • Start date Start date
T

Terry Olsen

A few questions about the progressbar:

1. Is there a way to show text in/over a progressbar (like using a label
with transparent background? Which hasn't worked for me, BTW).

2. Can I get a "Smooth" progressbar instead of the "Segmented" bar?

3. Can I change the color of the progressbar?

Thanks!
 
You could always subclass the current progress bar control and override the
onPaint method. call mybase.paint(args()) and then draw a string over it
with the same graphics object.

-CJ
 
CJ said:
You could always subclass the current progress bar control and override the
onPaint method. call mybase.paint(args()) and then draw a string over it
with the same graphics object.

-CJ

If you have some spare time you can make your own skinned progressbar as
a User Control.

A good start is to follow CJ Taylor advice.
 
Back
Top