Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Showing Label on top of a progressbar

Status
Not open for further replies.

sergiogove

Programmer
Oct 17, 2002
19
MT
Hi

I am using the standard progressbar. I want to show a label with the progress in the middle of the progressbar (like in many installation packages), showing for example 10%

however, the label does not show on top. it seems as though the progressbar takes precedence over it or something.

I tried, setting the label to the front, setting lbl.zorder() and even creating he label at runtime.

any ideas please ??

sergio.
 
sergio

I have encountered this problem before also. In the end I made my own progress bar, using 2 shapes. The first shape was the boundary of the progress bar, and the second was coloured, and I incremented its width as I went along. In the middle of the bar I had a textbox which showed the percentage complete.


WTrueman
...if it works dont mess with it
 
Thanks wtrueman

I think that's the only way around it.

thanks again
sergio
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top