Hide document tab close button...

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
lidds
User
Posts: 510
Joined: Sat May 16, 2009 1:55 pm

Hide document tab close button...

Post by lidds »

Is there a way that I can hide the tab close button when in multiple document mode?

Thanks

Simon
User avatar
Radi - Tracker Supp
Site Admin
Posts: 597
Joined: Tue Mar 03, 2015 12:46 pm

Re: Hide document tab close button...

Post by Radi - Tracker Supp »

Hello Simon,

I am afraid that it is not possible to disable / hide the close tab button. We already have a feature request for this option (see the topic below), however, I cannot guarantee that it will be implemented in a future build of the Editor:
https://forum.pdf-xchange.com/ ... 62&t=29316

Regards,
Radi
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Hide document tab close button...

Post by Sasha - Tracker Dev Team »

Hello Simon,

Try this:

Code: Select all

PDFXEdit.IUIX_Layout layout = secondMainView.DocViewsArea.Panes.Layout;
if (layout.Root.Count > 0)
	layout.Root[0].SetStyle((int)PDFXEdit.UIX_LayoutItemStyleFlags.UIX_LayoutItemStyle_HideCloseTabsBtn, (int)PDFXEdit.UIX_LayoutItemStyleFlags.UIX_LayoutItemStyle_HideCloseTabsBtn);
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
lidds
User
Posts: 510
Joined: Sat May 16, 2009 1:55 pm

Re: Hide document tab close button...

Post by lidds »

Thanks, this worked
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Hide document tab close button...

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply