christuf
10-21-2004, 10:19 PM
I tried to change all the graphic appearences of the components with this code, but it always stays the Green Halo on the selections (menus, buttons, checkbox...).
--> Is there a hidden parameter to change it?
or must I change it manually, editing an existing Theme like HaloBlue ...?
// ----- STYLES --------------
_global.style.setStyle("headerBackgroundColor", 0x9933FF);
_global.style.setStyle("headerSelectionColor", 0x9933FF);
_global.style.setStyle("headerBottomColor", 0x9933FF);
_global.style.setStyle("backgroundColor", 0x9933FF);
_global.style.setStyle("color", 0x9933FF);
_global.style.setStyle("fontSize",16);
_global.style.setStyle("fontFamily" , "_serif");
_global.style.setStyle("borderColor", 0x9933FF);
_global.style.setStyle("borderStyle", "none");
_global.style.setStyle("fontStyle", "italic");
_global.style.setStyle("fontWeight", "bold");
_global.style.setStyle("highlightColor", 0x9933FF);
_global.style.setStyle("marginLeft", "2");
_global.style.setStyle("marginRight", "2");
_global.style.setStyle("scrollTrackColor", 0x9933FF);
_global.style.setStyle("shadowColor", 0x9933FF);
_global.style.setStyle("symbolBackgroundColor", 0x9933FF);
_global.style.setStyle("symbolColor", 0x9933FF);
_global.style.setStyle("symbolBackgroundDisabledColor", 0x9933FF);
_global.style.setStyle("symbolBackgroundPressedColor", 0x9933FF);
_global.style.setStyle("rollOverColor", 0x9933FF);
_global.style.setStyle("selectionColor", 0x9933FF);
_global.style.setStyle("textRollOverColor", 0xFFFFFF);
_global.style.setStyle("textSelectedColor",0x9933FF);
_global.style.setStyle("alternatingRowColors ",0x9933FF,0x6699CC);
_global.style.setStyle("disabledColor",0xCCCCCC);
_global.style.setStyle("selectionDisabledColor",0x999999);
_global.style.setStyle("borderCapColor", 0x9933FF);
_global.style.setStyle("shadowCapColor", 0x9933FF);
_global.style.setStyle("buttonColor", 0x9933FF);
// ----- !STYLES --------------
Regards,
Chris ;}
--> Is there a hidden parameter to change it?
or must I change it manually, editing an existing Theme like HaloBlue ...?
// ----- STYLES --------------
_global.style.setStyle("headerBackgroundColor", 0x9933FF);
_global.style.setStyle("headerSelectionColor", 0x9933FF);
_global.style.setStyle("headerBottomColor", 0x9933FF);
_global.style.setStyle("backgroundColor", 0x9933FF);
_global.style.setStyle("color", 0x9933FF);
_global.style.setStyle("fontSize",16);
_global.style.setStyle("fontFamily" , "_serif");
_global.style.setStyle("borderColor", 0x9933FF);
_global.style.setStyle("borderStyle", "none");
_global.style.setStyle("fontStyle", "italic");
_global.style.setStyle("fontWeight", "bold");
_global.style.setStyle("highlightColor", 0x9933FF);
_global.style.setStyle("marginLeft", "2");
_global.style.setStyle("marginRight", "2");
_global.style.setStyle("scrollTrackColor", 0x9933FF);
_global.style.setStyle("shadowColor", 0x9933FF);
_global.style.setStyle("symbolBackgroundColor", 0x9933FF);
_global.style.setStyle("symbolColor", 0x9933FF);
_global.style.setStyle("symbolBackgroundDisabledColor", 0x9933FF);
_global.style.setStyle("symbolBackgroundPressedColor", 0x9933FF);
_global.style.setStyle("rollOverColor", 0x9933FF);
_global.style.setStyle("selectionColor", 0x9933FF);
_global.style.setStyle("textRollOverColor", 0xFFFFFF);
_global.style.setStyle("textSelectedColor",0x9933FF);
_global.style.setStyle("alternatingRowColors ",0x9933FF,0x6699CC);
_global.style.setStyle("disabledColor",0xCCCCCC);
_global.style.setStyle("selectionDisabledColor",0x999999);
_global.style.setStyle("borderCapColor", 0x9933FF);
_global.style.setStyle("shadowCapColor", 0x9933FF);
_global.style.setStyle("buttonColor", 0x9933FF);
// ----- !STYLES --------------
Regards,
Chris ;}