Phone Number Input help

TacoBueno

Registered User.
Local time
Today, 11:22
Joined
Nov 30, 2005
Messages
10
Greetings... I am setting up a text box to accept a phone number with an input mask of 000\-000\-0000;0;_ but it isnt doing quite what I want it to do, I would like it to start at the begining when clicked to prevent the error of a user typing in the number a space too far to the right. (right now it places the cursor where ever the user clicks, which becomes a major pain when you want to just be able to click the field anywhere and type from left to right for sake of speed)

thanks for any solutions you might have to offer
 
also

also, using something like me.refresh under onclick sort of works, but it is also very buggy since i am able to stop half way through a number and reclick causing problems, basically I want it to enter in left to right just like a regular non input masked text box, but i still want the input mask to be there, just no ability to click beyond what has already been typed in...
 
cover all your bases with http://support.microsoft.com/?kbid=268102

or
Code:
Me.ActiveControl.SelStart = 0
or, my twist:

Code:
If IsNull(Me.ActiveControl) Then
    Me.ActiveControl.SelStart = 0
End If
 
Last edited:

Users who are viewing this thread

Back
Top Bottom