O$ : Disable menu on menu bar

Kelly Burgess kellyb at montana.com
Thu May 26 12:00:49 UTC 2022


Hi Mike,

In Studio 10.2 on MacOS Catalina, I can do

     Do $imenus.mTest.$disableMenu()

     Do $imenus.mTest.$enableMenu()

.. which are basically shortcuts for Do $imenus.mTest.$enabled.$assign(kFalse/kTrue)

Those will disable everything, and the only thing I don't get is a graying of the menu title text in the menu bar.  I'm not sure I've seen any program do that lately...

  Disable menu line mTest/0
  Enable menu line mTest/0

..seem to do the same thing, and Disable all menus and toolbars behaves the same way, not graying the menu titles but disabling all items.

Kelly


More information about the omnisdev-en mailing list