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

Re: Enable/Disable MenuItems before Display

Can't you just bind the enabled property of your nativemenuitems to
whatever expression gives you the availability of the item, no matter if
it's shown or not, so you are sure it's always in the correct state?

On Sat, Jul 14, 2018 at 4:00 PM, Tucsonjhall <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: