Le 30/03/2014 13:23, Nigel Verity a écrit :
> Hi Benoit
>
> I have tested the .validate() event of the datacontrol. It meets my
> requirement to test and modify the data entered in the control but is
> there any way to abandon the save entirely if certain criteria are
> not met?
>
> Thanks
>
> Nige
>

Yep: if you call STOP EVENT from the Validate event handler, you will 
abort the save.

-- 
Benoît Minisini

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to