Hi Christof, I was recently working with a grid using the AllowCellSelection=.F. approach. In the grid, keyboard input of <enter> would confirm the selection. The escape should 'cancel' The enter comes in on the KeyPress event, but the escape doesn't. Any insights on that?
Regards, Sietse SW-Software -----Oorspronkelijk bericht----- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Christof Wollenhaupt Verzonden: vrijdag 25 juli 2008 7:21 Aan: [EMAIL PROTECTED] Onderwerp: RE: Can I programattically set method code? Hi Rafael, > but I disagree with your statement Admittedly, I worded this a little strong and provocative. <g> It's not just black and white. BTW, in your scenario of a grid I'd go with AllowCellSelection=.F. Then you only need code in the DblClick and KeyPress event of the grid, not in every single column. -- Christof [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]@sw-software.nl ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.