[Gambas-user] CheckBox_MouseUp huge PB
Benoît Minisini
gambas at ...1...
Sun Aug 23 22:25:14 CEST 2009
> Fabien Bodard a écrit :
> > it seem that the click event is send after the .value setting... but
> > the MouseUp before.
> >
> > why did you not use the click event ?
>
> I don't use it because it is raised after the .Value has changed and I
> need to be able to forbid any change in some conditions.
- You can't assume any relationship between Mouse events and the Click event
raised when the value has changed.
- If the checkbox should not be changed, then it must be disabled before the
user tries to change it.
Regards,
--
Benoît
More information about the User
mailing list