Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KeyPress equivalent to identify actual character
Message
 
À
17/07/2000 08:23:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00393169
Message ID:
00393178
Vues:
21
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform