ActivateDocument with focus of corresponding tab in mdi mode

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

User avatar
MartinCS
User
Posts: 153
Joined: Thu Apr 07, 2011 10:01 am

ActivateDocument with focus of corresponding tab in mdi mode

Post by MartinCS »

Hi,

I'm using the method 'ActivateDocument' to set the focus of an open document in mdi mode. This works so far. But the focus of the corresponding tab of the document doesn't get the focus as well. Is it necessary to use another/additional method to gain the focus of the tab for the activated document?

Thank you!

Best,
Martin
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2445
Joined: Thu Jun 30, 2005 4:11 pm

Re: ActivateDocument with focus of corresponding tab in mdi mode

Post by Vasyl - PDF-XChange »

Hi, MartinCS

Sorry, no other simple way for this currently. Wait for new version V3.
Try to set focus to our control on your form: ctrl.Focus() (in VB)...

Best
Regards.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: ActivateDocument with focus of corresponding tab in mdi mode

Post by John - Tracker Supp »

Hi Martin,

Please ensure you post to the correct forum for the Viewer SDK - this ensures the correct person see's your request at the earliest possibloe moment - otherwise it relies on others to advise the correct staff member or move to the correct forum - thanks
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com