Hi,
I have found that if you ever set the 'enabled' property of a  
ComboBox dynamically, then the ComboBox starts showing the I-Beam  
'edit' cursor when you mouse over it.  Otherwise identical ComboBoxes  
that aren't having their enabled property set behave correctly.

here's an example:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";  
layout="vertical">

<mx:ComboBox enabled="true">
                <mx:Array>
                        <mx:String>I behave</mx:String>
                        <mx:String>b</mx:String>
                        <mx:String>c</mx:String>
                </mx:Array>
        </mx:ComboBox>
        <mx:CheckBox label="ComboBox Selected" id="cbSelected" />
        <mx:ComboBox enabled="{cbSelected.selected}">
                <mx:Array>
                        <mx:String>I appear editable</mx:String>
                        <mx:String>b</mx:String>
                        <mx:String>c</mx:String>
                </mx:Array>
        </mx:ComboBox>
</mx:Application>

The top combo box just shows the normal arrow cursor, but the bottom  
one, once enabled shows the 'edit' cursor.  Is this a bug or have I  
failed to read the documentation adequately?

Thanks,
Stephen

Reply via email to