General XMetaL Discussion
jrob61 December 4, 2013 at 9:25 pm
Essential 8.0 concernsDecember 4, 2013 at 9:25 pmParticipants 0Replies 1Last Activity 9 years, 1 month ago
General question for other Essential 8.0 users – we are in the process of upgrading from Essential 5.5 to 8.0 and have been experiencing various issues with our customized toolbars, like flashing toolbars during startup or during open/close of documents, and odd tooltip text. Just curious if anyone has encountered similar issues and how they managed to work-around them, or perhaps other issues with 8.0 that we should be on the alert. Thanks.XMetaLOldTimer December 6, 2013 at 12:50 am
Reply to: Essential 8.0 concernsDecember 6, 2013 at 12:50 am
The toolbar flashing that occurs is unfortunately by-design right now. We have a defect logged for this matter but so far, no resolution has been worked out.
Please note, I often see custom macro code written that is modifying the toolbars and menus when it is NOT PERMITTED to do so. Please be sure that you're modifying the toolbars and menus during either “On_Default_CommandBars_Complete” (for app-level/all-dtd changes) or “On_CommandBars_Load_Complete” (for dtd-specific commandbars) event macros. Toolbar modifications during any other event macro was never supported although some XMetaL versions may have seemed to support this in some instances for some installations.
“On_CommandBars_Activate” and “On_CommandBars_Deactivate” event macros are provided strictly to allow you to hide or show toolbars but that is about you can do in that event.
“On_Update_UI” is the only time where you can adjust the enable/disable/pushed-in/checked state of you toolbar/menu items. All custom toolbar and menu items should have a “OnAction” property assigned which is the name of your macro to execute. Call Application.DisableMacro or Application.PushedInMacro with the name of your associated macros and the toolbar and menu item's UI will be drawn accordingly.
- You must be logged in to reply to this topic.