Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Browse Window Speed to fast
Message
 
 
To
06/01/2000 10:19:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00313892
Message ID:
00314283
Views:
40
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
Map
View

Click here to load this message in the networking platform