Benoît Minisini a écrit : >> Benoît Minisini a écrit : >> ... >> >>> If you really have to make a difference between a change coming from the >>> application and a change coming from the user, then use a boolean flag, >>> like "bIgnoreClickEvent", that you set explicitely when needed. >> May be that's a solution. >> Now I know which order events take, I'll first re-check the existing code >> to see if I can avoid tricky code. > > Depending or the order of events when these events are not "physically" > related is not a good idea. Your code may break in the future.
It is the only easy way I found to use the same CheckBoxes to both display my database rights when an item is selected, and set/unset them. JY -- The good oxymoron, to define it by a self-illustration, must be a planned inadvertency. -Wilson Follett ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user