Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement