Home › Forums › General XMetaL Discussion › Deactivating toolbar buttons when changing view mode › Reply To: Deactivating toolbar buttons when changing view mode
Reply to: Deactivating toolbar buttons when changing view mode
July 5, 2017 at 3:26 amI believe when disabling macros it is best to use the On_Update_UI even macro. All macros are enabled when this is called so disabling macros elsewhere will probably give the wrong result.
Try something like this:
Application.DisableMacro("MacroName");
]]>