Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric Textbox Woes
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Numeric Textbox Woes
Divers
Thread ID:
00114109
Message ID:
00114109
Vues:
65
I have a textbox that is not bound, I assign its initial value to 0. I have Format of K and SelOnEntry set to .t. The behaviour I am getting is any number I type in then hit the decimal point gets appended in front of the 0. For example, if I type 5. the 5 appends to the 0 to give 50. It takes a little effort to do this because of the Select On Entry, but I know a user can make just about anything happen. All it really takes is for the user to hit the END key, HOME key, LEFT or RIGHT arrow, and the SelOnEntry is gone, the cursor is now to the left of the 0. In FP 2.x, the behaviour was what I desired, typing in a number plus the decimal point completely replaced whatever was on the left of the decimal.

How do you make this work properly?

TIA!
Mark McCasland
Midlothian, TX USA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform