Print Page | Close Window

xtpWorkspaceShowCloseTab does not work any more

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=23259
Printed Date: 23 December 2024 at 10:56am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: xtpWorkspaceShowCloseTab does not work any more
Posted By: Alex H.
Subject: xtpWorkspaceShowCloseTab does not work any more
Date Posted: 06 February 2017 at 9:40am
Hi Codejock team!
Since we changed to XTP 17.3 this option doesn't work any more.
The 'X' to close a tab should be always visible.

We use xtpWorkspaceShowCloseTab in combination with :
xtpWorkspaceHideArrows | xtpWorkspaceShowActiveFiles

.

You can see the 'x' on the active tab but not on the other tab.
If i highlite the tab (mouse over), the 'x' is also visible on "Kontakte".
Do i have to change the color in my theme-INI? If yes, which color is it?

Please help!



Replies:
Posted By: Fredrik
Date Posted: 07 February 2017 at 7:09am
I think it depends on the theme: 

Office 2007, Office 2010, Windows 7: check boxes always visible
Office 2013, Visual Studio 2015: check boxes not visible on inactive tabs (visible on hoover)

Using flags: xtpWorkspaceHideClose | xtpWorkspaceShowCloseTab | xtpWorkspaceHideArrows | xtpWorkspaceShowActiveFiles



-------------
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0


Posted By: Alex H.
Date Posted: 08 February 2017 at 5:10am
Thank you Fredrik!
But it seems that the place for the X is reserverd.
I can see it if a give the tab a custom color -> the the space for the X stays white.
So this is a bug for me :-)


Posted By: BeeJay
Date Posted: 10 April 2017 at 11:25am
any news on this?


Posted By: Alex H.
Date Posted: 11 April 2017 at 4:25am

Still no solution!




Posted By: Alex H.
Date Posted: 21 April 2017 at 5:30am
Finally found a solution by overwriting virtual void FillNavigateButton(CDC *pDC, CXTPTabManagerNavigateButton *pButton, CRect &rc)
in my custom Colorset based on CXTPTabColorSetOffice2013


         



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net