Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - TabControl appearance
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

TabControl appearance

 Post Reply Post Reply
Author
Message
rdmeyers View Drop Down
Groupie
Groupie


Joined: 11 December 2008
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdmeyers Quote  Post ReplyReply Direct Link To This Post Topic: TabControl appearance
    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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 12 December 2008 at 1:14am

Hello,

Yes this is closest look. There is no closer.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
rdmeyers View Drop Down
Groupie
Groupie


Joined: 11 December 2008
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdmeyers Quote  Post ReplyReply Direct Link To This Post 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?
 
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.