Cursor positioning

I

Ig

I have field for telephone number with mask
\(000") "000\-0000;0;" "
So user see (999)999-9999.
I want when user enters this field with mouse, to position cursor
automatically
on the first symbol. How it can be accomplished?
Thanks
 
J

James Hahn

Have a look at the Selstart property of the text box that you are using to
display this field. Setting this property will do what you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Novice question 2 2
Input Mask Default Value 3
Convert number 2
Phone Number Clean Up 1
Input Mask question 2
phone number input mask 4
Input Mask not working 3
view format problem 2

Top