Showing Text in/over a progressbar?

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!
 
C

CJ Taylor

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
 
J

John Smith

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top