Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling a Key Press
Message
De
14/12/1999 12:45:33
 
 
À
14/12/1999 11:15:05
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00303395
Message ID:
00303458
Vues:
16
>Is there a way to disable a key on the keyboard. My users have a bad habit of putting a dash'-' in the job number field. The field is a mix of alpha/numeric characters. Thanks for your help.
>
>God Bless,
>S. Dyke

It's not advised to use OKL for anything. Unless there is no other way...

In the Keypress event of the textbox receiving input, put:

IF nKeyCode = 45
NODEFAULT
ENDIF
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform