Input Mask

dadrew

Registered User.
Local time
Today, 17:11
Joined
Sep 15, 2003
Messages
186
I have a text box on a form that holds a grid reference, (2 letters and 6 numbers). I have set the box up with an input mask, (>LL000000;0;_). Is there a way that when the user clicks in the box that the cursor will go to the start of the box. At present it goes wherever they click in the box. If they dont notice then the machine starts beeping at them, most annoying!
 
Start

In the On Click Event of the box put:

Me.txtname.SelStart = 0

(replace txtname with the actual name of the box)
 

Users who are viewing this thread

Back
Top Bottom