Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting cursor to 1st Position in date fields?
Message
De
15/08/2001 15:24:38
Dave Emerson
Dc Emerson Consult8Ng, Inc
Destin, Floride, États-Unis
 
 
À
15/08/2001 10:41:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00544082
Message ID:
00544278
Vues:
12
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform