Input Mask

G

Glenn Brown

I've used the following input mask on a text box control 99999999999;;" " .
The only problem is; when you click onto the control with your mouse, the
cursor doesn't goto the start of the line.

Is there any way of doing this via code?
Glenn
 
S

Steve Conway

Hi Glenn,

You can place
Me.controlName.SelStart = 0
into an appropriate event for the control, On_Click, Got_Focus, etc.

HTH
Steve C
 

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

Top