Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric Textbox Woes
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Numeric Textbox Woes
Miscellaneous
Thread ID:
00114109
Message ID:
00114109
Views:
67
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
Next
Reply
Map
View

Click here to load this message in the networking platform