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 10:46:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
15/08/2001 10:41:23
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00544082
Message ID:
00544088
Views:
14
>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

In GotFocus():
Keyboard "{Home}" plain
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform