>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.
Try this in the gotfocus()
DODEFAULT()
this.SelStart = 0
It doesn't work withotut the DoDefault()