(SOLVED) MDI Tabs -- how to set color? |
Post Reply |
Author | |
chrisABC
Senior Member Joined: 05 June 2008 Status: Offline Points: 258 |
Post Options
Thanks(0)
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
|
|
chrisABC
Senior Member Joined: 05 June 2008 Status: Offline Points: 258 |
Post Options
Thanks(0)
|
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
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, Enable OneNote colors for Workspace.PaintManager
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
chrisABC
Senior Member Joined: 05 June 2008 Status: Offline Points: 258 |
Post Options
Thanks(0)
|
Thanks. That works well.
|
|
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |