Hi Sietse,

ESC is a bit special in that it's routed through the form's KeyPress even if
the KeyPreview property is .F. I can only guess what's happening here, but
would assume that the GotFocus event takes care of enabling event
forwarding. The Grid doesn't have a GotFocus event. 


-- 
Christof


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sietse Wijnker
Sent: Freitag, 25. Juli 2008 10:59
To: [EMAIL PROTECTED]
Subject: AllowCellSelection oddity was RE: Can I programattically set
methodcode?

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




_______________________________________________
Post Messages to: [email protected]
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]
** 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.

Reply via email to