[CLOSED] Showing a toolbar button's menu on mouseover and hiding on mouseout.

  1. #1

    [CLOSED] Showing a toolbar button's menu on mouseover and hiding on mouseout.

    I have a panel with a toolbar as shown below. Is there any way to have Button2's menu pop down when the user hovers over the button, and hiding it when the user moves off of the menu. I can get the menu to show on mouseover, but mouseout hides the menu as soon as I move the mouse off of the button itself and not its menu:

    <ext:Panel runat="server" Header="false" Region="North" Border="false">
    <BottomBar>
        <ext:Toolbar ID="ToolBar1" runat="server" Flat="false">
       <Items>
            <ext:Button ID="Button1" runat="server" Text="Button1">
             </ext:Button>
             <ext:ToolbarSeparator />
         <ext:Button ID="Button2" runat="server" Text="Button2">
        <Menu>
             <ext:Menu runat="server">
                 <Items>
               <ext:MenuItem ID="MenuItem1" runat="server" Text="MenuItem1">
                   </ext:MenuItem>
               </Items>
               <Listeners>
                <MouseOut Handler="#{btnSetup}.hideMenu();" />
               </Listeners>
              </ext:Menu>
            </Menu>
        <Listeners>
            <MouseOver Handler="#{btnSetup}.showMenu();" />
        </Listeners>
        </ext:Button>
        </Items>
        </ext:Toolbar>
    </BottomBar>
    </ext:Panel>
    Last edited by Daniil; Dec 05, 2011 at 5:38 PM. Reason: [CLOSED]
  2. #2

Similar Threads

  1. [CLOSED] Button menu is not hiding while mouseout.
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Jul 30, 2012, 5:50 PM
  2. [CLOSED] How mouseover can fire at button with menu?
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 13, 2012, 6:51 PM
  3. Replies: 1
    Last Post: Feb 22, 2012, 6:41 AM
  4. [CLOSED] [1.0] Toolbar Mouseover Popup Menu
    By x1000 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 27, 2010, 9:47 AM
  5. Hiding and Showing up a TapPanel
    By pearl in forum 1.x Help
    Replies: 0
    Last Post: Mar 11, 2009, 8:27 AM

Posting Permissions