Menu supports disabling, but dropdown List doesn't?  You can disable
list selection via an example on my blog.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Rodseth
Sent: Thursday, June 19, 2008 8:54 AM
To: [email protected]
Subject: [flexcoders] Disabled items in dropdown

 

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