[Gambas-user] Progress Bars

Jeff Stillinger stillj7388 at ...159...
Tue Jul 27 05:10:00 CEST 2004


Thanks a million Benoit.

My next step was to use the panel.  I got lazy writing RealBasic code
under OS X.  :-)

Thanks again.

--j


Benoit Minisini wrote:
 > Actually not. The Value of the ProgressBar is a Float between 0.0 and 
1.0. I
 > didn't think that somebody could use ProgressBar as a jauge like you 
did !
 >
 > You can replace it by two panels, the second (blue) inside the first 
(normal).
 > Then you will set the width of the inside panel this way:
 >
 >  InsidePanel.W = OutsidePanel.ClientW  * (CFloat(Value - MinValue) / 
(MaxValue
 > - MinValue))
 >








More information about the User mailing list