TabControl on Vista |
Post Reply |
Author | |
reggie
Newbie Joined: 19 February 2007 Status: Offline Points: 9 |
Post Options
Thanks(0)
Posted: 13 August 2007 at 9:29pm |
I am trying to get a TabControl to work with the SkinFramework on a Vista machine. Because I like the Aero titlebar and borders of Vista this is what I've tried:
TabControl.Appearance = xtpTabAppearancePropertyPage
TabControl.Color = xtpTabColorWinXP SkinFramework.LoadSkin App.Path & "\Vista.cjstyles", ""
SkinFramework.ApplyOptions = xtpSkinApplyColors Or xtpSkinApplyMetrics SkinFramework.ApplyWindow hWnd This does not seem to work, the TabControl remains the default Color style.
If I include xtpSkinApplyFrame during ApplyOptions all works fine but I lose the Aero titlebar and borders.
Is this a bug or am I doing wrong?
We are using v10.4.2.
|
|
There are only 10 kinds of people in the world, those that understand binary and those that don't.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
I think you can disable SkinFramework vista theme if user run application in Vista.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
reggie
Newbie Joined: 19 February 2007 Status: Offline Points: 9 |
Post Options
Thanks(0)
|
But I want the Vista theme to work on Vista. We are using VB6 which does not deliver themed applications correctly unless:
1) A .manifest file is included OR
2) Use some kind of skinning tool like CodeJock
There are some caveats with item 1, so we had decided on item 2.
If I turn off the SkinFramework on a Vista machine then other controls on the form are not themed but the TabControl is. If I turn on the SkinFramework, the other controls are themed but the TabControl is not.
Not sure what's up here.
|
|
There are only 10 kinds of people in the world, those that understand binary and those that don't.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Its designed behavior. Without xtpSkinApplyFrame TabControl will not be skinned.
I think you need enable manifest.
|
|
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 |