ok, it works.
But what is better programming approach, a progressbar to have a change
event or not?
i am thinking Fabien's approach.
On Sun, 2011-07-10 at 20:28 +0200, Benoît Minisini wrote:
> > ok, maybe you are right.
> >
> > i explain my case:
> > In my case the purpose to use a change e
> ok, maybe you are right.
>
> i explain my case:
> In my case the purpose to use a change event for progressbar is to
> inform user about the changes of its value within control and not from a
> variable which changes the value of the control.
> Only for this.
>
> For the data/view part i unders
ok, maybe you are right.
i explain my case:
In my case the purpose to use a change event for progressbar is to
inform user about the changes of its value within control and not from a
variable which changes the value of the control.
Only for this.
For the data/view part i understand what are you
But There is an ENORMOUS difference between a textbox and a progressbar !!
In the progressbar side the user CAN'T change the value with his
keyboard or mouse. So we know where and when the value is changed.
The change event in the text box is a way to inform the program that
the user do something
Dimitris i say exactly that.
1) There is no watcher method to watch the changes in a progressbar.
i would like to write something like that.
PUBLIC SUB ProgressBar1_Change()
Message.Info("Complete 100%")
END
but progressbar has not any Change() event.
2) So for now i use a Timer with interva
Demosthene,
Since the value of the progressbar cotnrol is just between 0 to 1
you can probably try
IF ProgressBar1.Value = 1 THEN ProgressBar1.label="Process complete"
You can probably do this within the ProgressBar1_Change() event
assuming that the event is going to get fired when an input cha
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
??? 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 :
> hi,
>
> i make an example with progressbar and i saw that i was needed a
> ProgressBar_Change() event to check the status (va
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.