[MBS] NSMenuMBS or NSMenuItemMBS refresh

2014-06-10 Thread Jean-Luc Arnaud
Hi all, I'm playing with NSMenuMBS and NSMenuItemMBS. After installing Menu and Menu Items, all works perfectly. Nevertheless, one of the items displays a modal dialog (showmodal). If I click on my menu when the modal dialog is displayed, all items appear grayed, what is expected. But after

Re: [MBS] NSMenuMBS or NSMenuItemMBS refresh

2014-06-10 Thread Christian Schmitz
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

Re: [MBS] NSMenuMBS or NSMenuItemMBS refresh

2014-06-10 Thread Christian Schmitz
Am 10.06.2014 um 16:28 schrieb Marnaud anic...@mac.com: I fail to understand why this AutoEnableItems property would be required after they are disabled but not at the initial stage (Jean-Luc said they are enabled at start). autoenable causes them to be enabled all the time. Not sure if

Re: [MBS] NSMenuMBS or NSMenuItemMBS refresh

2014-06-10 Thread Jean-Luc Arnaud
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,

Re: [MBS] NSMenuMBS or NSMenuItemMBS refresh

2014-06-10 Thread Tim Jones
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

Re: [MBS] NSMenuMBS or NSMenuItemMBS refresh

2014-06-10 Thread Jean-Luc Arnaud
Le 10/06/2014 18:07, Tim Jones a écrit : 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 Of course, it works, given that items are not