Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KeyPress funny
Message
De
17/04/2001 13:17:51
David Brunelle
Université de Sherbrooke
Sherbrooke, Québec, Canada
 
 
À
17/04/2001 13:05:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00496099
Message ID:
00496212
Vues:
10
I personnaly use the LASTKEY function for such matter because it always give the the VERY LAST KEY pressed...

>>is it usual for KeyPress to be one character behind what has actually been typed on the keyboard? i have a textbox for entering stuff and in the KeyPress event i put in the line ?var. at the first KeyPress the var is an empty string (spac(20)) and charcters only start showing after the second character is typed in.
>>tia - john
>
>If var is the textbox's ControlSource, yes, what you're seeing is normal. The character isn't added to the Value/ControlSource until after the code in KeyPress executes.
>
>Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform