Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trapping the Backspace Key
Message
De
13/08/1999 15:10:56
 
 
À
13/08/1999 12:48:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00253434
Message ID:
00253612
Vues:
35
>
*KeyPress
>
>Thisform.nLastKey = nKeyCode
>
>*Valid
>
>return !thisform.nLastKey = 127
Would this be right?

It depends on what he wants to do with it. I understood him to be asking how to trap the keystroke so he could do whatever he wants to do with it. Generally if he just wants to discard the keystroke, I would do as Dan indicated, just use NODEFAULT to throw out the keystroke.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform