Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Puzzling This.Value behavior in textbox
Message
 
 
À
23/03/2006 11:28:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01107014
Message ID:
01107022
Vues:
17
Alex,

See if Re: Enter key zeros out edit change to textbox Thread #935276 relevant to your problem.

>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.
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform