OnClick Text box that contains a date

Blkblts

Registered User.
Local time
Today, 08:59
Joined
Jan 21, 2000
Messages
61
When I click in a text box that contains a formated date field the curser could be set in the begining middle or end of the field with the format of _/_/_ ... Is there anyway to use the On_Click event to left justify the curser so the user can start typing the date at the begining? It works fine when I tab into the field just not when I use the mouse and click.

Thanks
kim
 
In your OnClick Event procedure add this code

me.txtYourTextControl.SelStart = 0


ntp
 
Thanks that worked perfectly...

kim
 

Users who are viewing this thread

Back
Top Bottom