Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to disable tab key
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00124536
Message ID:
00124683
Vues:
18
>>>is it possible to disable tab key, or other keys for that matter?
>>
>>Timothy,
>>
>>In a form class set the KeyPreview property to .T. and put this in the KeyPress;
>>
>>
>>IF nKeyCode = 9
>> NODEFAULT
>>ENDIF
>well what I am getting at is that when a textbox receives the focus, the users should onlt be allowed to hit enter or click on QUIT. There are other controls but if user clicks on them, trouble occurs. I'd hate to issue disables all over the place then enabled them afterwards, alot of code.


Try:
ON KEY LABEL TAB m.variable = 0
Dominican Republic, a Paradise in America
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform