General information
Category:
Forms & Form designer
Another simple solution: insert This.SetFocus() in the GotFocus event.
Dave
>Hello all,
>
>You must have noticed that whenever one clicks on any date field text box , it puts the cursor where you have clicked. but what I am looking for is , that if
>that date field text box is empty than as soon as you click on it , it should
>put the cursor on 1st position. so that user can start typing a date.
>
>well, the first thing came in my mind is setting selstart to 0 in when event. but its not helping. i have tried coupld of more workarounds but didn't help much. if anyone has a idea please let me know.
>
>thank you for your help in advance
>
>Mark
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only