Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do we identify keycode for Enter Key on Number Pad
Message
From
09/10/1999 10:13:07
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00274514
Message ID:
00274590
Views:
31
>In an effort to speed data entry, we want to remap the tab key to the enter key which is on the number pad of the keyboard (with numlock on). We want to leave the existing enter key above the shift key to remain as the enter key. By remapping the tab key, we avoid the enter key assuming the default windows behavior on check boxes of checking un unchecked box and vice versa. Anyone know if the two enter keys have distinguishable codes that we can do what we want??
>
>Thanks to all of your suggestions.

You can get the keycode for any key. In the command window, enter:

? INKEY(0)

VFP will wait for you to press a key and then print the value on the screen.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform