Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Puzzling This.Value behavior in textbox
Message
De
23/03/2006 11:28:21
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Puzzling This.Value behavior in textbox
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01107014
Message ID:
01107014
Vues:
64
This is a codemine text box, and I wonder if this behavior is specific to codemine or to all of VFP. The undesirable behavior remains if I set This.lNativeBinding = .T., BTW.

A textbox is bound to a numeric value, with format = 'L' and inputmask = '99999'.

If user clicks and inserts a digit, or changes a digit and then tabs out of field, textbox.value keeps the value seen by user in text box before tab key was hit.

On the other hand, if user taps the Enter key after making the change, texttbox.value takes on the value of the first numbers up to and including the one he changed.

I want textxbox.value to remain identical to what the user sees whether he tabs out or hits enter.

Any suggestions?

TIA,

Alex
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform