I realize this is probably an FAQ, but it beats me why I can disable items
in a PopupMenuButton, but not a ComboBox:

    <mx:XMLList id="treeDP2">
        <node label="Inbox"/>
        <node label="Calendar" enabled="false"/>
        <node label="Deleted Items"/>
    </mx:XMLList>

        <mx:ComboBox dataProvider="{treeDP2}" labelField="@label" />

        <mx:PopUpMenuButton id="p2"
            dataProvider="{treeDP2}"
            labelField="@label"
            />

So I was thinking of trying to style the PopupMenuButton to look more like
the Combo (centered menu, click anywhere to open). But if anyone has a
ready-made solution, I'm all ears.

Reply via email to