I don't think menu supports pre-selection.  If the data is nested, would you 
want the menu to expand out as well?  That might be tough to do.

Another option is to replace the ComboBox's dropdown with a Tree.

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
arshak_navruzyan
Sent: Saturday, November 15, 2008 12:37 AM
To: [email protected]
Subject: [flexcoders] PopUpMenuButton like a combobox


Hello,

I have hierarchical data nicely binding to a PopUpMenuButton which I'm
using on form.

I've managed to create a handler that changes the label when an item
is selected but can't seem to figure out how to pre-set the value of
the PopUpMenuButton when the user wants to edit an existing record.
Try something like this but it didn't work

Menu(categoryPopUpMenuButton.popUp).selectedItem = _posting.category;

Thanks,

Arshak

Reply via email to