Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I make a text box numeric
Message
De
13/04/2000 16:47:36
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00359135
Message ID:
00359498
Vues:
11
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform