Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Focus Issues
Message
 
 
To
30/07/2009 18:56:48
Scott Butts
Ims Specialty Services
Twin Falls, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Miscellaneous
Thread ID:
01415582
Message ID:
01415583
Views:
57
>I am having a focus issue. I have form A that contains an ActiveX control (LeadTools v9, old, I know) and is modeless, this form calls form B, also modeless, NOW.... form B calls a third form, C (modeless). Form C contains some OLE DragNDrop code and ONLY when this code is executed will focus go to form A when form C is closed (focus should be on form B). Any one out there have any suggestions?
>
>I have figured out that it ONLY happens when there is an underlaying form that contains a LeadTools control, so it is not specific to form A. I have search on the UT and only find information about Modal forms, these forms are modelss.
>
>Please help...... this is driving me CRAZY!
>
>Thanks
>
>Scott

Hi Scott,

ActiveX controls tend to steal the focus. I think you can search here for ActiveX and SetFocus and you'll find this problem already discussed.
Say, thread #760144 though not exactly relevant.

See also

Re: One for the gurus: DHTML control not yielding focus. Thread #726486 Message #726670
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform