Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To intercept keyboard key.
Message
De
02/02/2004 15:42:36
 
 
À
02/02/2004 15:38:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00873123
Message ID:
00873129
Vues:
17
Sorry, my answer was not complete

In the Keypress event you add this code:

IF CHR(nKeyCode)='a'
NODEFAULT
nKeyCode=ASC('B')
DODEFAULT()
ENDIF
<\pre>

>You can easily do this in Keypress
>
>>Hi all!
>>
>>How I would obtain to intercept for example the keyboard key "a" and make to appear the character "B" ? Already I searched the respect and I do not obtain to find a way, somebody could help me?
>>
>>Thanks for the attention of all.
>>
>>Lázaro Santos.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform