Derek Read July 31, 2012 at 8:26 pm
Reply to: Create toolbarsJuly 31, 2012 at 8:26 pm
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.