Home Forums General XMetaL Discussion Create toolbars Reply To: Create toolbars

Derek Read

Reply to: Create toolbars

What that translates to is this:

  • Use On_Default_CommandBars_Complete to add, remove or change toolbars and menus.
  • Setting the “visible” property for toolbars (on a CommandBarControl or CommandBar object) will have no effect inside the event On_Default_CommandBars_Complete since the toolbars are rendered after this event runs. The only thing happening inside that event is the building up of toolbars and menus before they are rendered.

In most cases I wouldn't set the Visible property anyway since that is usually something I would leave up to the user to decide.