[Gambas-user] CheckBox_MouseUp huge PB

Fabien Bodard gambas.fr at ...626...
Sun Aug 23 22:13:53 CEST 2009


Public Sub CheckBox1_MouseUp()

 If not Last.Value and ItIsNotGood then Stop Event


End

You need to take in mind that the value is changed after the mouseup event ...




2009/8/23 Jean-Yves F. Barbier <12ukwn at ...626...>:
> 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.



>
> --
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list