custom colors in cjstyles |
Post Reply |
Author | |
gwoin
Groupie Joined: 09 September 2004 Location: France Status: Offline Points: 52 |
Post Options
Thanks(0)
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. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
You can only change global window color:
[SysMetrics]
Window = 91 91 91 |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
gwoin
Groupie Joined: 09 September 2004 Location: France Status: Offline Points: 52 |
Post Options
Thanks(0)
|
Thank you Oleg, I will play with that and the text color.
|
|
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 |