Itemrenderers are not used in the text portion ComboBox itself, just the
dropdown.  You can use labelFunction to change what the text portion
displays or subclass.  Check out the Icons In ComboBox example on my
blog (blogs.adobe.com/aharui)

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rich Tretola
Sent: Tuesday, May 29, 2007 6:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ComboBox ItemRenderer Issues

 

I am using an ItemRenderer for a ComboBox component and all is well in
the dropdown however, the selected item always shows the object
definition and not the ItemRenderer.  Has anyone else run into this?

The same ItemRenderer when used within a List component has no issues. 

See the attached images.

CBoxerror.png shows the issue with the combobox.
CBoxError2.png shows the renderer working properly with a List
component.

Rich

 

Reply via email to