I see the problem now. I don't know how to work around it. GotFocus fires just after the 'CTRL+F', even in VFP 8.
>It brings it up, but it doesn't work properly. If you try to find some text, it highlights it for about a milisecond and then it's gone.
>
>What I did was:
>
>1) Subclassed the baseclass and made sure it still worked to rule out the act of subclassing breaking it
>2) Added a property to the form just so it had something to change. (lProperty)
>3) In the GotFocus(), I put THISFORM.lProperty = .T.
>
>Without the GotFocus() code, it works fine. With it, I get the behaviour I described above.
>
>Thanks,
>
>Michelle
>
>
>>In VFP 7 and 8 I added the following in the GotFocus Event of an edit box:
>>This.BackColor = 16776960
>>
>>Ran the form in the IDE and CTRL+F brought up the VFP Find Dialog.
>>I used base classes. What differences do you have that may cause this behavior?
>>
>>Tracy
Tracy