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 <12u...@gmail.com>:
> 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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to