What is the problem with MouseDown? If the textBox already has the focus GotFocus event is not fired.
>>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
>
>* Mousedowm
>if empty(this.tag)
> nodef
> this.tag = '*'
>endif
>
>* losfocus
>this.tag = ''
>
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.