[Gambas-user] CheckBox_MouseUp huge PB

Benoît Minisini gambas at ...1...
Sun Aug 23 23:27:06 CEST 2009


> Benoît Minisini a écrit :
> ...
>
> > If you really have to make a difference between a change coming from the
> > application and a change coming from the user, then use a boolean flag,
> > like "bIgnoreClickEvent", that you set explicitely when needed.
>
> May be that's a solution.
> Now I know which order events take, I'll first re-check the existing code
> to see if I can avoid tricky code.

Depending or the order of events when these events are not "physically" 
related is not a good idea. Your code may break in the future.

-- 
Benoît




More information about the User mailing list