[Gambas-user] ProgressBar Change Event

Demosthenes Koptsis demosthenesk at ...626...
Sat Jul 9 09:04:46 CEST 2011


in that case 

the expression 
if X >=1 then message.info("all is done")

who will watch this expression?

i need a timer or event loop or event ProgressBar1_Change()

i implement this for now with a timer
but i think it would be more elegant as programming approach to watch the ProgressBar1.Value and not the variable who set this value.


On Sat, 2011-07-09 at 00:02 +0200, Fabien Bodard wrote:
> ??? can't you test the value when you set the value of the progressbar ?
> 
> progressbar1.value = X
> 
> if X >=1 then message.info("all is done")
> 
> 2011/7/8 Demosthenes Koptsis <demosthenesk at ...626...>:
> > hi,
> >
> > i make an example with progressbar and i saw that i was needed a
> > ProgressBar_Change() event to check the status (value) of the control.
> >
> > So if value is 1 to show a Message.Info("Complete 100%").
> >
> > Is it possible to implement this event?
> >
> >
> > --
> > Regards,
> > Demosthenes Koptsis.
> >
> >
> > ------------------------------------------------------------------------------
> > All of the data generated in your IT infrastructure is seriously valuable.
> > Why? It contains a definitive record of application performance, security
> > threats, fraudulent activity, and more. Splunk takes this data and makes
> > sense of it. IT sense. And common sense.
> > http://p.sf.net/sfu/splunk-d2d-c2
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> 
> 
> 

-- 
Regards,
Demosthenes Koptsis.





More information about the User mailing list