[Gambas-devel] Add a Delete event to DataBrowser?

Benoît Minisini gambas at ...1...
Tue Sep 9 17:21:34 CEST 2014


Le 09/09/2014 16:09, Benoît Minisini a écrit :
> Le 09/09/2014 15:18, Tobias Boege a écrit :
>> Hi Benoit,
>>
>> couldn't it be useful sometimes to intercept clicks on the "Delete"
>> button
>> in a DataBrowser and be able to Stop Event the deletion?
>>
>> Attached is a patch which accomplishes this. I don't commit yet to ask
>> what
>> you think about it and if you immediately see something wrong with it.
>> The
>> database controls are so woven into each other that I, with my limited
>> experience with them, fear to miss something.
>>
>> Regards,
>> Tobi
>>
>
> To keep the component logic, it must be a "BeforeDelete" event in the
> DataSource control. I will do it.
>

Done in revision #6463.

Regards,

-- 
Benoît Minisini




More information about the Devel mailing list