Print Page | Close Window

Default style for controls

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=7507
Printed Date: 17 November 2024 at 12:52am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Default style for controls
Posted By: corpcon
Subject: Default style for controls
Date Posted: 02 July 2007 at 3:56pm
I'm using SkinFramework and Suite Controls (in particular, the tab control at the moment).
 
Is there no way for the controls to adopt the style of the form as per the SkinFramework settings? Or do I have to individually set each controls colour (or appearance)?
 
Assuming this is the case, I suppose it would be a bad idea to use these controls with SkinFramework if I wanted to use 3rd party skins. And I guess I can only use the skin styles that are also available within the controls. Are these assumptions correct?



Replies:
Posted By: Oleg
Date Posted: 03 July 2007 at 1:59am
Hi,
 
Please attach screenshot. Sorry, have no idea what do you mean. 


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


Posted By: corpcon
Date Posted: 03 July 2007 at 11:23am

Probably best if I explain it better ...

I'm using VB6 with SkinFramework and other controls from the Suite (tabs, checkbox, frame, etc.)
 
I set SkinFramework to ANY skin (perhaps a 3rd party skin). So, as an example, let's say I select a skin called "midnight orange".
 
When I place one of the Suite's controls on the form, it does not automatically take on the appearance of the SkinFramework skin. Is there a way that it can, regardless of what skin is chosen in SkinFramework?
 
The second part of the question is ... If I choose a common skin using SkinFramework that is also available in the Suite's controls, such as OfficeXP, do I have to manually set every control to OfficeXP appearance or is there an automated way to do it?
 


Posted By: Oleg
Date Posted: 03 July 2007 at 2:21pm
Hello,
 
You have to set UseVisualStyle property to true for SuiteControls and they will automatically use skin.


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


Posted By: corpcon
Date Posted: 03 July 2007 at 3:49pm
But the Suite's tab control doesn't have this capability?


Posted By: Oleg
Date Posted: 04 July 2007 at 12:27am
Hi
 
For TabControl change Color property to xtpTabColorWinXP.


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