cursor to always show on left side of an entry field

soundsfishy

Registered User.
Local time
Tomorrow, 05:40
Joined
Sep 25, 2002
Messages
174
I have an entry field with an input mask 000\ 000\ 000\ 000;;_
When I click in the field I want the cursur to always start from the far left. At the moment when I click in the field the cursors goes depending where I clicked in the field which is what I dont want becuase it is very annoying.

Please help as the cursor giving me a headache!
 
S,

Put code like this in the control's On Click event.

Code:
Me.YourControlName.SelStart = 0

If that doesn't work, take two aspirin and re-post in the morning.

Regards,
Tim
 
Thanks heaps!!
 

Users who are viewing this thread

Back
Top Bottom