Run the code below, click on the arrow for the PopupMenuButton, click
on "foo" in the menu.  The menu doesn't disappear, then when you move
the mouse, the ComboBox appears in front of the menu.

I've seen similar behavior without having to click an item in the menu
but I haven't come up with a way to reproduce it every time.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; xmlns="*"
layout="absolute" creationComplete="initApp()" >
<mx:Script>
        <![CDATA[
                import mx.collections.*;
                                
                [Bindable]
                public var history:ArrayCollection;
                
                private function initApp():void
                {
                        history = new ArrayCollection(
[{label:"foo"},{label:"bar"},{label:"foobar"}] );
                }
        
        ]]>
</mx:Script>
<mx:VBox width="100%" height="100%" verticalGap="0">
        <mx:PopUpMenuButton id="pb" dataProvider="{history}" width="100"
labelField="label"/>
        <mx:ComboBox id="historyList" dataProvider="{history}" width="100"/>
</mx:VBox>
</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 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to