Everything you are doing seems correct. To make a textbox numeric, you assign a value of zero. It may be worth subclassing the textbox to different types - you can then have a numeric textbox which already has value zero and just place that on the form. Useful also for date textboxes.
>Hi all,
>
>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. Is this the proper way to do it and are they likely to change back for any reason. 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.
>
>TIA
>Chris.