Try faking an ESC KEY_DOWN event to the menubar

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
danrockstheworld
Sent: Tuesday, November 11, 2008 2:15 PM
To: [email protected]
Subject: [flexcoders] Programmatically roll-up MenuBar on right-click


Hi,

I'm trying to figure out how to programmatically roll-up up any menus
that are open underneath a MenuBar. Here's how to reproduce:

1) Click on a menu bar to open a drop-down menu
2) Right-click elsewhere on the app to open up the ContextMenu
3) Notice that the unused MenuBar does not roll-up

In most programs, the MenuBar-based menu will roll-up when you
mouseDown elsewhere in your app with the right-click. In Flex, the
MenuBar will roll-up whenever you mouseDown with the left-click, but
not for the right-click.

Anybody have ideas of how to do this?

Thanks in advance,

Dan

Reply via email to