Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Puzzling This.Value behavior in textbox
Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement