Title: 1.5 Combobox: bug cursoring through list with long labels

As show in the tiny sample app below, the long labels interfere with cursoring through the drop list items. Any cursor key causes the item to be selected and the list to close.  Perhaps someone who has looked into the combobox code might suggest a workaround? 

Tracy

<?xml version="1.0" encoding="utf-8"?>

<!-- This combo box closes when you attempt to cursor through the list   the long labels are the cause of the problem. -->

<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" width="100%" height="100%">

   <mx:Script>

      <![CDATA[ var tr = [{name:"ttttttttttttttttttttttttttttttttttttttttttttttttttttt",value:0}, {name:"jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj",value:1}, {name:"rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr",value:2}]; ]]>

   </mx:Script>

   <mx:ComboBox dataProvider="{tr}" labelField="name"/>

</mx:Application>



--
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