Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting cursor to 1st Position in date fields?
Message
From
15/08/2001 15:24:38
Dave Emerson
Dc Emerson Consult8Ng, Inc
Destin, Florida, United States
 
 
To
15/08/2001 10:41:23
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00544082
Message ID:
00544278
Views:
19
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
Map
View

Click here to load this message in the networking platform