Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - (SOLVED) MDI Tabs -- how to set color?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

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

 Post Reply Post Reply
Author
Message
chrisABC View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2008
Status: Offline
Points: 257
Post Options Post Options   Thanks (0) Thanks(0)   Quote chrisABC Quote  Post ReplyReply Direct Link To This Post Topic: (SOLVED) MDI Tabs -- how to set color?
    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
Back to Top
chrisABC View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2008
Status: Offline
Points: 257
Post Options Post Options   Thanks (0) Thanks(0)   Quote chrisABC Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 09 January 2009 at 11:20am

Hi,

Enable OneNote colors for Workspace.PaintManager
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
chrisABC View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2008
Status: Offline
Points: 257
Post Options Post Options   Thanks (0) Thanks(0)   Quote chrisABC Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.063 seconds.