[Gambas-user] Gambas Datasource Control

Benoît Minisini gambas at ...1...
Sun Mar 30 13:32:34 CEST 2014


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




More information about the User mailing list