Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To intercept keyboard key.
Message
From
02/02/2004 15:42:36
 
 
To
02/02/2004 15:38:31
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00873123
Message ID:
00873129
Views:
18
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform