Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do we identify keycode for Enter Key on Number Pad
Message
De
09/10/1999 10:13:07
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00274514
Message ID:
00274590
Vues:
32
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform