Disable or remove the closing option on the TAB bar.

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

adntES
User
Posts: 71
Joined: Fri Mar 25, 2011 5:43 pm

Disable or remove the closing option on the TAB bar.

Post by adntES »

Hi, is it possible to disable or remove both "x" closing on the Tab bar. The one that close all document and the one on the document tab.

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

Re: Disable or remove the closing option on the TAB bar.

Post by Vasyl - PDF-XChange »

Hi, adntES.

Yes it's possible:

Code: Select all

ctrl.SetDocumentProperty(docId, "NoClose", "true", 0);
HTH
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.