Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form has focus, but it hasn't
Message
 
 
À
14/02/2000 10:22:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00331661
Message ID:
00331781
Vues:
16
Karsten,

You may have to force focus out of the OCX, maybe onto another VFP control on the origin form, and then launch the child form. It may also work better if you use a form level method to do the launch instead of doing it in the OCX method.

>>>move it over a textbox. If you click in the new form it switches in the back >and the form with the OCX is active again. What can we do?
>>
>>Try to issue This.Setfocus() in secondary form Init.
>
>This does not work. I think, the OCX gets the focus after creating the second form, because we go back in its click event.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform