Is there a way that I can hide the tab close button when in multiple document mode?
Thanks
Simon
Hide document tab close button...
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.
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.
- Radi - Tracker Supp
- Site Admin
- Posts: 597
- Joined: Tue Mar 03, 2015 12:46 pm
Re: Hide document tab close button...
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
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
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Hide document tab close button...
Hello Simon,
Try this:
Cheers,
Alex
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);
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: Hide document tab close button...
Thanks, this worked
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Hide document tab close button...
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ