>Put in GotFocus
>
TextBox::GotFocus
>
>In VFP9
>
TextBox::GotFocus
>Nodefault
>
>>I need a way that when a user clicks in a date populated text box the entire date is selected to be over-written. I know the SelStart and SelLength will work on strings but how do you use this with dates?
Attention, you lost MouseDown event with this.
The correct solution is NODEF in the first MouseDown
if empty(this.tag)
nodef
this.tag = '*'
endif
this.tag = ''