![]() |
Codejock Tab Control Skin Appearance |
Post Reply ![]() |
Author | |
Skreen ![]() Groupie ![]() Joined: 23 March 2013 Status: Offline Points: 33 |
![]() ![]() ![]() ![]() ![]() Posted: 31 May 2013 at 1:51pm |
How do I set the Codejock tab control to have the same appearance as a ComCtl32 tab control?
I am trying to apply the Office 2010 Silver skin / theme. ![]() |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
You can change the tab appearance, propertypage2007 is what does the orange color. Also if you set the backcolor manually it will use that color instead.
|
|
![]() |
|
Skreen ![]() Groupie ![]() Joined: 23 March 2013 Status: Offline Points: 33 |
![]() ![]() ![]() ![]() ![]() |
I have tried all the color sets but none seem to apply the Office 2010 Silver theme to the Tab Control.
Me.TabControl1.Color = xtpTabColorResource Me.TabControl1.Appearance = xtpTabAppearancePropertyPage But I cannot get the Codejock Tab Control to look the same as ComCtl32 Tab Control. Could you send me a VB6 project showing me how to do this? (I should still be currently under support)
|
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
Well our tabcontrol is not the same as the MS one. You need to add a property page to the tab and set its backcolor, if not set then it will look as in your picture.
SuiteControlsGlobalSettings.ResourceImages.LoadFromFile App.Path & "\..\..\..\Styles\Office2007.dll", "Office2007Silver.ini" nTabAppearance = xtpTabAppearancePropertyPage2007 nTabColor = xtpTabColorResource pageButtons.BackColor = RGB(255, 0, 0) ![]() |
|
![]() |
|
Skreen ![]() Groupie ![]() Joined: 23 March 2013 Status: Offline Points: 33 |
![]() ![]() ![]() ![]() ![]() |
I understand that the MS tab control is not the same as Codejock, however the Codejock skin when applied to the MS tab control and to the Codejock tab control does not look the same on both controls. I thought it would be a straight forward matter to have the skin look the same on both controls when it is a Codejock skin.
Maybe I am missing something obvious here, but is it not possible to apply the Office 2010 theme to Codejock's own tab control so that it looks the same as the same Codejock skin applied to MS ComCtl32 Tab Control? The previous code sample you gave me is using Office 2007? Maybe I need to use a theme and not the skin?
|
|
![]() |
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 |