Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TextBox.KeyPress and TextBox.value
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
TextBox.KeyPress and TextBox.value
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01170174
Message ID:
01170174
Vues:
57
Hello,

I need to check the value in textbox each time user presses buttons on the keyboard. But I'm getting value in Textbox.Value which was before user pressed key in the method TextBox.KeyPress. So I have to add CHR(nKeyCode) to Textbox.Value to get latest value inside textbox.
Everything is fine until user presses BackSpace or delete buttons - in this case I cannot determine actual TextBox.Value value.

I think that there should be another solution... :-/

Thanks in advance
Giedrius
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform