Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TextBox.KeyPress and TextBox.value
Message
De
16/11/2006 06:43:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01170174
Message ID:
01170187
Vues:
11
>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

when Value is changed, check it into:
textbox.InteractiveChange
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform