[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gambas-devel
Subject:    Re: [Gambas-devel] Add a Delete event to DataBrowser?
From:       <gambas () users ! sourceforge ! net>
Date:       2014-09-09 15:21:34
Message-ID: 540F1AFE.3080703 () users ! sourceforge ! net
[Download RAW message or body]

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

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-devel mailing list
Gambas-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic