Print Page | Close Window

TabControl appearance

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=12900
Printed Date: 22 November 2024 at 9:25am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TabControl appearance
Posted By: rdmeyers
Subject: TabControl appearance
Date 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.



Replies:
Posted By: Oleg
Date Posted: 12 December 2008 at 1:14am

Hello,

Yes this is closest look. There is no closer.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: rdmeyers
Date Posted: 12 December 2008 at 11:30am
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?
 
 


Posted By: Oleg
Date Posted: 12 December 2008 at 2:22pm

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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net