Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with KeyPressed Event
Message
De
13/08/1998 10:21:16
 
 
À
13/08/1998 10:19:42
Wim Dieke
Tranquility Bv
Almere, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00126502
Message ID:
00126504
Vues:
19
>I have a problem with the Keypressed event of a textbox. When the event fires (e.g. user presses key) i want to conditionaly accept or reject the key for input in the textbox.
>
>Does anyone know how to do this?
>
>I've tried :
>- Keyboard buffer flush
>- Not passing the parameters to the dodefault()
>- Not calling dodefault at all
>- Inserting backspace in the keyboard buffer (that one was funny!)
>
>Kind Regards, Wim.

If nKeyCode=69 && or any other needed value
NODEFAULT
Endif
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform