Re: [Flashcoders] Font color in datagrid component

2006-10-16 Thread Carl Welch
Thanks, but that still didn't work. Here's a screenshot of what I have now: http://www.carlwelch.com/listBoxsample/listbox.jpg but I'm trying to make it look more like this: http://www.carlwelch.com/listBoxsample/listbox2.jpg this the code I'm using: import mx.styles.CSSStyleDeclaration; if

[Flashcoders] Font color in datagrid component

2006-10-15 Thread Carl Welch
I'm trying to make the color of text white in a datagrid. it doesn't seem to be working, though. The text looks dark blue against a black background. Also is it possible to change the color of the top part of the datagrid. Even though I have the cells set to an alternating color of black and

Re: [Flashcoders] Font color in datagrid component

2006-10-15 Thread nelson ramirez
The DataGrid component implements the List component. So you need to set the style for List. if (_global.styles.List == undefined) { _global.styles.List = new CSSStyleDeclaration(); } _global.styles.List.setStyle(color, 0xFF); On 10/15/06, Carl Welch [EMAIL PROTECTED] wrote: I'm trying