Print Page | Close Window

custom colors in cjstyles

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=4721
Printed Date: 07 May 2024 at 7:22am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: custom colors in cjstyles
Posted By: gwoin
Subject: custom colors in cjstyles
Date Posted: 03 August 2006 at 10:46am
Hi,
 
I am creating a cjstyles skin for my application.
To do that, I just copy the code of the Office2007 style from the XTP sources.
 
All works but some controls does not have the color I would.
 
For example, I would like to change the background and text color for the ComboBox, Edit and ListView (as in the OpenWindow).
 
I can change the colors of almost all the controls but not these ones.
 
In the .ini file, I use these lines for each control I would like to change the colors:
 
; Globals for the entire control
bgType = borderFill
fillType = Solid
fillColor = 91 91 91
BorderColor = 91 91 91
TextColor = 255 250 207
BorderSize = 1
 
But it does not work. the background is still with and the text is still black (but in the OpenFile Window, the text is white and the background too).
 
I get the same problem for the background of the scrollbars: the background is black and I don't see why....
 
Any idea?
 
Thank you.



Replies:
Posted By: Oleg
Date Posted: 03 August 2006 at 11:53am
Hi,
 
You can only change global window color:
 
[SysMetrics]
Window =  91 91 91


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


Posted By: gwoin
Date Posted: 04 August 2006 at 5:03am
Thank you Oleg, I will play with that and the text color.



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