I've been playing around with ItemRenderers and discovered some odd behavior.  In the sample below, the ItemRenderer for a ComboBox works fine until the rowCount (5) is exceeded and the scroll bar kicks in.  The colors for items indexed above the rowCount are incorrectly displayed.  Also, the change event of the ColorPicker doesn't seem to fire if you select the first color (yellow), when the control is initially displayed.  I tried setting the selectedIndex to -1, but that didn't work.  In addition, after a color is selected, and the control is set to visible="false", a focus border remains, even when setFocus is used for another control.  I'm not actually using this code in a pre-production application, but I thought that I would call attention to some possible bugs that might be remedied before release.

The sample is here:

http://www.iepl.net/cbxItemRendererSample/cbxItemRendererSample.html 

Cheers,
Tim Hoff

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to