-
Help needed with combobox component
ying to change the highlight text color of the combobox component, but can't seem to find it.. I changed teh text color using "color" and the highlight background color using "themeColor" but what's the attribute to get when you select on of the selections with your mouse, the text color changes to some other color and when you mouse down the text it changes to another color. I need those two attributes.. any help is appreciated.
myComboBox.setStyle("fontSize", "12");
myComboBox.setStyle("fontFamily", "Arial");
myComboBox.setStyle("themeColor", "0xC1CFD8");
myComboBox.setStyle("disabledColor", "0x009900");
myComboBox.setStyle("borderColor", "0x999900");
myComboBox.setStyle("color", "0xFF0000");
"Hello, my name is Inigo Montoya... you kill my father, prepare to die."
-
IBarFormat.textSelected = 0xFFFFFF;
that's one of them at least.
cheers,
miakazi
-
Hi Miakazi,
Thanks for the responce... yeah, tried it both ways.. but it didn't change that default dull green color when you select one of the drop down options. This is how I formatted it...
Country.textSelected = 0xFFFFFF;
Country.setStyle("textSelected", "0x990000");
Thanks for trying though... anyone else know?
"Hello, my name is Inigo Montoya... you kill my father, prepare to die."
-
...not to ask a stupid question, but at the end of the styles list you did put a Country.addListener(myComboBox); so it knows what component to attach itself to? Otherwise, I'll keep looking too!
cheers!
miakazi
-
...oh, and at the beginning the definition of a new format: here's the one I currently use:
var IBarFormat = new FStyleFormat();
IBarFormat.fontFamily = frutiger,futura;
IBarFormat.textColor = 0x003399;
IBarFormat.textSize = 10;
IBarFormat.textLeading = 4;
IBarFormat.selection = 0x3591C5;
IBarFormat.scrollTrack = 0x3591C5;
IBarFormat.textSelected = 0xFFFFFF;
IBarFormat.highlight3D = 0xA7D0ED;
IBarFormat.shadow = 0x3591C5;
IBarFormat.darkshadow =0x006699;
IBarFormat.highlight = 0xFFFFFF;
IBarFormat.arrow = 0xFFFFFF;
IBarFormat.foregroundDisabled = 0xFFFFFF;
IBarFormat.face = 0x3591C5;
IBarFormat.addListener(interactBar_sb);
IBarFormat.addListener(interCombo_cb);
hope this helps!
miakazi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|