[flexcoders] Re: item renderer in ComboBox not consistent

2009-07-02 Thread valdhor
Glad to be of help. A renderer can do almost anything but you have to decide whether the weight of the renderer is worth it. Depending on the amount of data, it could really slow down the display. --- In flexcoders@yahoogroups.com, "Mic" wrote: > > Thanks valdhor - great solution! I had got th

[flexcoders] Re: item renderer in ComboBox not consistent

2009-07-02 Thread Mic
Thanks valdhor - great solution! I had got this far but was using a textInput and its background color, and even though I had editable=false; enabled=false; the cursor would go into the row. Not good. Question: I had to modify to g.beginFill(0xE8E8E3, 0.5

[flexcoders] Re: item renderer in ComboBox not consistent

2009-07-01 Thread valdhor
Try the following as a starting point... http://www.adobe.com/2006/mxml"; layout="absolute"> *United States Australia England *Ireland *Scotland Wales MyLabel.as: package { i

Re: [flexcoders] Re: item renderer in ComboBox not consistent

2009-07-01 Thread Jeffry Houser
Use the dataChange event. Even if the data changes, the renderer is not re-created and creationComplete will not run again. Mic wrote: Hi Jeff, what this does is set the background color of the renderer's VBox and therefore the line shading to gray if the label text begins with an asteris

[flexcoders] Re: item renderer in ComboBox not consistent

2009-06-30 Thread Mic
Hi Jeff, what this does is set the background color of the renderer's VBox and therefore the line shading to gray if the label text begins with an asterisk we want to highlight these paricular rows in the list. I know what you are saying about creationComplete() only running once, but I was