![]() |
TabControl appearance |
Post Reply ![]() |
Author | |
rdmeyers ![]() Groupie ![]() Joined: 11 December 2008 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() Posted: 11 December 2008 at 6:12pm |
What properties do you need to set so that the TabControl will skin as the standard TabStrip does? Setting "Appearance" to 0, and "Color" to 1 gets closest, but still nowhere near what I expect. I can email screen shots if that would help explain things.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello, Yes this is closest look. There is no closer. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
rdmeyers ![]() Groupie ![]() Joined: 11 December 2008 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
I have managed to get a little closer by setting the TabControl "Appearance" property to 0, then using the following code to flip between skin colors or turn skinning off completely:
Private Sub mnuSkinBlue_Click()
SkinFramework1.LoadSkin App.Path & "\Office2007.cjstyles", "NormalBlue.ini"
TabControl1.Color = xtpTabColorWinXP End Sub Private Sub mnuSkinNone_Click() SkinFramework1.LoadSkin App.Path & "", ""
TabControl1.Color = xtpTabColorDefault End Sub
Private Sub mnuSkinSilver_Click() SkinFramework1.LoadSkin App.Path & "\Office2007.cjstyles", "NormalSilver.ini"
TabControl1.Color = xtpTabColorWinXP End Sub
OK, so how about a slightly associated question? I thought about using the TabControlPage because it properly reflects the skinning when placed directly on the form, yet it does absolutely nothing when placed on the TabControl itself. What gives? Does it become transparent when placed on the TabControl? If so, can we have a "Transparent" property to turn off this behaviour when needed?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, if you don't wnat this transparency just don't add TabControlPage.
Actually I not sure what you see and what need.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |