>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