Print Page | Close Window

TabControl on Vista

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=7790
Printed Date: 24 April 2024 at 9:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TabControl on Vista
Posted By: reggie
Subject: TabControl on Vista
Date 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.



Replies:
Posted By: Oleg
Date Posted: 14 August 2007 at 1:25am
Hello,
 
I think you can disable SkinFramework vista theme if user run application in Vista.


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


Posted By: reggie
Date Posted: 14 August 2007 at 1:44pm
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.


Posted By: Oleg
Date Posted: 15 August 2007 at 2:05am
Hi,
Its designed behavior. Without xtpSkinApplyFrame  TabControl will not be skinned.
I think you need enable manifest.


-------------
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