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

Tobias Boege taboege at ...176...
Tue Sep 9 17:21:30 CEST 2014


On Tue, 09 Sep 2014, Beno?t Minisini wrote:
> 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.
> 

Thanks.

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk




More information about the Devel mailing list