Print Page | Close Window

(SOLVED) MDI Tabs -- how to set color?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=13120
Printed Date: 20 April 2024 at 10:03am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: (SOLVED) MDI Tabs -- how to set color?
Posted By: chrisABC
Subject: (SOLVED) MDI Tabs -- how to set color?
Date Posted: 08 January 2009 at 12:42pm
I cannot find how to set color of a Tab in the MDItabworkspace.

I can change the VisualTheme, and I can change the tab caption.  But how can I set the backcolor of an individual Tab?

(I want to have Groups of Tabs, and have all Tabs in each Group be the same colour. Maybe there is an alternative way to do this? )

SOLUTION (from Oleg -- thankyou)

>> Enable OneNote colors for Workspace.PaintManager

This works fine.  Now the tabs obey the  Item.Color  setting



-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6



Replies:
Posted By: chrisABC
Date Posted: 09 January 2009 at 3:26am
As nobody has any suggestions, I have found that I can use Markup with the Caption to set text background color for a Tab. And also that I can set Item.Color in the Workspace_SelectedChanged(Item...) event, but only if CommandBars.VisualTheme = Office2003.

I wish I knew what I was doing....      or that the documentation was better


-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6


Posted By: Oleg
Date Posted: 09 January 2009 at 11:20am

Hi,

Enable OneNote colors for Workspace.PaintManager


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: chrisABC
Date Posted: 09 January 2009 at 2:23pm
Thanks. That works well. 

-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6



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