Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form has focus, but it hasn't
Message
 
 
To
14/02/2000 10:22:09
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00331661
Message ID:
00331781
Views:
15
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
Previous
Reply
Map
View

Click here to load this message in the networking platform