TabControl Color = xpTabColorOffice2007 |
Post Reply |
Author | |
RobinG
Groupie Joined: 07 May 2006 Location: United Kingdom Status: Offline Points: 16 |
Post Options
Thanks(0)
Posted: 05 May 2009 at 11:35am |
Hi, I'm using v13.0.0 controls. I have an app using the RibbonBar in conjuction with the ReportControl & TabControl.
When the Color property of the TabControl is set to (32 = xpTabColorOffice2007) - the tab matches the Ribbonbars blue theme nicely - however, if I select a different style for the Ribbon bar (Black/Auqa/Silver) the tabcontrol retains a blue theme. How can I make the tabcontrol use the same colour theme as the ribbon?
I can make the ReportControl follow the Ribbon Theme, but have had no luck with the tab control. Is it possible?
|
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
Have you tried setting the office 2007 images path of global settings for the suite controls? Example:
(Assuming the office 2007 dll is in your application path). |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
RobinG
Groupie Joined: 07 May 2006 Location: United Kingdom Status: Offline Points: 16 |
Post Options
Thanks(0)
|
jbpro - you are a star!
Your suggestions was indeed the soloution - however, I did also need to make the TabControl refresh/redraw after updating the global settings as you indicicated. The only was I could find of doing this was to reset the .Colour property to the same value, so the basically added:
TabControl1.Color = xtpTabColorOffice2007
|
|
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
Glad to help, and thanks for the additional information about how you got it working...it could come in handy.
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
greymann
Newbie Joined: 11 May 2009 Location: United States Status: Offline Points: 1 |
Post Options
Thanks(0)
|
I am looking at a similar problem with tab coloring. In my case I am changing the SkinFramework. After reading this thread I found that applying the dll helped here too even though I might not be using a 2007 skin. However, there are some skins such as the Luna Homestead that don't go very well with any of the available dll's. Since I am a newbee with codejock, my questions in order are am I missing something, are there other dll's available somewhere other than the four in the samples, or is there somewhere a description of the dll structure so the user can create their own?
Thanks for your help. |
|
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 |
|
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 |