Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KeyPress equivalent to identify actual character
Message
 
To
17/07/2000 08:23:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00393169
Message ID:
00393178
Views:
22
You could, but then how do you strip it out? If you try to strip it out, the cursor moves to the beginning of the textbox. Not very tidy.

>Nigel,
>
>Couldn't you check the actual value of the checkbox in the interactive change
>
>Mace
>
>>I need to identify the keypress in a textbox but it needs to identify the actual character, not the key pressed.
>>
>>Example: I need to prevent quote and double-quote from being entered. If I use the keypress event nKeyCode, this will not work with different keyboard mappings. Here, double-quote is shift+2 but I can't trap shift+2 because it will be different on other mappings.
>>
>>Anybody have any ideas?
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Reply
Map
View

Click here to load this message in the networking platform