Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edit box doesn't work with CTRL-F if code in GotFocus()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00826046
Message ID:
00826166
Vues:
32
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform