Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement