Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I make a text box numeric
Message
From
13/04/2000 16:47:36
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00359135
Message ID:
00359498
Views:
10
>I've got a textbox on a form and I want it to be numeric. They always seem to be character except if I assign them a numeric value in the forms Init.

Right, you can also just put in 0 for the Value in the form Designer properties sheet or bind the control to a numeric field.

>Also, using an input mask of say 999.99 allows me to control what can be input but when I tab back to the txtbox or setfocus after entering the data into it, the cursor always moves to just in front of the last character in the box. Should this happen or am I doing the input mask wrong.

Sounds right, you could probably control where the cursor goes using GotFocus and SelStart if you want.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform