Home › Forums › General XMetaL Discussion › On_Document_Open_Complete and On_Document_Activate Macro › Reply To: On_Document_Open_Complete and On_Document_Activate Macro
Reply to: On_Document_Open_Complete and On_Document_Activate Macro
October 24, 2013 at 8:02 pmIf you wish to disable menu items the best solution is to disable the macro that they are linked to. If you do that then anything in the UI (menu item or toolbar button) will be disabled. The API for this is DisableMacro(“macroname”) and should be used in the On_Update_UI event.