[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enable/Disable MenuItems before Display

I think you want to listen for the “preparing” event:
(Not sure the bookmark works on that link so you may just need to scroll down to very nearly the bottom of the page to see the event details..)

Hope it helps..


On 14 Jul 2018, at 15:01, Tucsonjhall <Jhall@xxxxxxxxxxxxxx<mailto:Jhall@xxxxxxxxxxxxxx>> wrote:

I must not be approaching this common task correctly. I have a native menu on
an AIR application and want to determine which subitems should be enabled
before displaying. I have yet to fall upon a way to capture an event when,
let's say, the File menu is clicked but before the menuitems under it are
displayed. Suggestions?

Sent from: