SmartGwtEE 2.3 version, Browser IE 7 or Chrome
i have a ToolStripMenuButton and when i mouseover on the toolstripmenubutton i get a menu and when i mouse out on the menu i am able to hide the menu, but the issue is when i mouse over again after the mouseout i dont get the menu, i will have to click on a different section of the page then have to mouseover to get the menu.
Can someone please help me out here if i am missing anything here.
i have a ToolStripMenuButton and when i mouseover on the toolstripmenubutton i get a menu and when i mouse out on the menu i am able to hide the menu, but the issue is when i mouse over again after the mouseout i dont get the menu, i will have to click on a different section of the page then have to mouseover to get the menu.
Can someone please help me out here if i am missing anything here.
Code:
Menu menu = getToolStripMenuButton(application.getTabWidgetList());
toolStripButton.setMenu(menu);
toolStripButton.addMouseOverHandler(new MouseOverHandler()
{
public void onMouseOver(MouseOverEvent event)
{
toolStripButton.setShowMenuBelow(true);
toolStripButton.getMenu().show();
}
});
menu.addMouseOutHandler(new MouseOutHandler()
{
public void onMouseOut(MouseOutEvent event)
{
toolStripButton.getMenu().hide();
}
});
menu.addMouseOverHandler(new MouseOverHandler()
{
public void onMouseOver(MouseOverEvent event)
{
toolStripButton.setShowMenuBelow(true);
toolStripButton.getMenu().show();
}
});
Comment