Jean-Luc, What if you don’t set the dialog to modal? I use this mechanism for two of our products and it works as expected. The only difference is that my dialogs are simple Document windows.
Tim On Jun 10, 2014, at 8:54 AM, Jean-Luc Arnaud <jean-...@cdmultimedia.fr> wrote: > Christian, > > I tried this before attachment of the menu, and after, unsuccesfully. > > Could this be a bug, or am I doing something wrong? > > It's very simple to get the issue: > - Create a NSMenuMBS, > - Create a NSMenuItemMBS item, > - Code for display of a modal dialog window when selecting the menu item, > - When the window is displayed, click in the menu, the item is grayed, > - Close the window (I simply coded a Self.Close in MouseUp event), > - Click in the menu, the item is still grayed. > > If needed, I could send you (off list) the project I'm working on. > > Regards > > Jean-Luc Arnaud > > Le 10/06/2014 14:23, Christian Schmitz a écrit : >> Am 10.06.2014 um 13:07 schrieb Jean-Luc Arnaud <jean-...@cdmultimedia.fr>: >> >>> Hi all, >>> >>> My workaround is, after clossing the modal dialog, to call a method >>> where all items are enabled with NSMenuItem.Enabled=True. >>> >>> Did I miss something? >> Maybe NSMenuMBS.autoenablesItems property? >> >> Sincerely >> Christian >> > > > _______________________________________________ > Mbsplugins_monkeybreadsoftware.info mailing list > mbsplugins@monkeybreadsoftware.info > https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info