General information
Category:
Coding, syntax & commands
Unfortuanately, if you use the browse command, you don't have a facility for trapping the keystrokes. On the other hand, if you use a grid control on a form, you can then take advantage of the keypress events.
The Grid control itself, does not have a KeyPress Event. However, Forms do have the KeyPress Event. So, if you set the KeyPreview Form Property to .T., you can use the form event.
Here is some code you can place in the KeyPress Event of the form...
LPARAMETERS nKeyCode, nShiftAltCtrl
If nKeyCode = 24 && down arrow
inkey(.5)
Endif
Previous
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