General information
Title:
Grid control's KeyPress event not firing?
In my grid's KeyPress event, I placed the following:
= messagebox("Key = " + TRANSFORM(nKeyCode,"999"))
I have the grid's RowSource set to a valid SQL statement and it's RowSourceType = 4.
When the grid gets focus, I can punch any key I want to and the KeyPress event (and thus my messagebox) never fires. Why is this? Does the RowSource have to be editable? Is there another setting that has to be enabled before the grid's KeyPress event will fire?
Thanks so much for your help.
Rodd
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only