CommandBars Members

Include Protected Members
Include Inherited Members

A collection of CommandBar objects that represent the command bars in the container application.

The CommandBars type exposes the following members.

Properties

  Name Description
Public property ActionControl Returns the CommandBarControl object whose OnAction property is set to the running procedure. (Inherited from _CommandBars.)
Public property ActiveMenuBar Returns a CommandBar object that represents the active menu bar in the container application. (Inherited from _CommandBars.)
Public property AdaptiveMenus Checks or unchecks the check box control for the option to show menus in Microsoft Office as full or personalized. (Inherited from _CommandBars.)
Public property Application Returns an Application object that represents the container application for the object. (Inherited from _CommandBars.)
Public property Count Returns or sets an Integer value indicating the number of items in the specified collection. (Inherited from _CommandBars.)
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created. (Inherited from _CommandBars.)
Public property DisableAskAQuestionDropdown Determines if the Answer Wizard dropdown menu is enabled. (Inherited from _CommandBars.)
Public property DisableCustomize Determines if toolbar customization is disabled. (Inherited from _CommandBars.)
Public property DisplayFonts Determines if the font names in the Font box are displayed in their actual fonts. (Inherited from _CommandBars.)
Public property DisplayKeysInTooltips Determines if shortcut keys are displayed in the ToolTips for each command bar control. (Inherited from _CommandBars.)
Public property DisplayTooltips Determines if ScreenTips are displayed whenever the user positions the pointer over command bar controls. (Inherited from _CommandBars.)
Public property IdsString Reserved for internal use. (Inherited from _CommandBars.)
Public property Item Returns a CommandBar object from the CommandBars collection. (Inherited from _CommandBars.)
Public property LargeButtons Determines if the toolbar buttons displayed are larger than normal size. (Inherited from _CommandBars.)
Public property MenuAnimationStyle Returns or sets the way a command bar is animated. (Inherited from _CommandBars.)
Public property Parent Returns the parent object for the specified object. (Inherited from _CommandBars.)
Public property TmcGetName Reserved for internal use. (Inherited from _CommandBars.)

Top

Methods

  Name Description
Public method Add Creates a new command bar and adds it to the collection of command bars. (Inherited from _CommandBars.)
Public method add_OnUpdate Reserved for internal use. (Inherited from _CommandBarsEvents_Event.)
Public method AddEx Reserved for internal use. (Inherited from _CommandBars.)
Public method CommitRenderingTransaction Commits the rendering transaction. Returns Nothing. (Inherited from _CommandBars.)
Public method ExecuteMso Executes the control identified by the idMso parameter. (Inherited from _CommandBars.)
Public method FindControl Returns a CommandBarControl object that fits the specified criteria. (Inherited from _CommandBars.)
Public method FindControls Returns the CommandBarControls collection that fits the specified criteria. (Inherited from _CommandBars.)
Public method GetEnabledMso Returns True if the control identified by the idMso parameter is enabled. (Inherited from _CommandBars.)
Public method GetEnumerator() (Inherited from _CommandBars.)
Public method GetImageMso Returns an IPictureDisp object of the control image identified by the idMso parameter scaled to the dimensions specified by width and height. (Inherited from _CommandBars.)
Public method GetLabelMso Returns the label of the control identified by the idMso parameter as a String. (Inherited from _CommandBars.)
Public method GetPressedMso Returns a value indicating whether the toggleButton control identified by the idMso parameter is pressed. (Inherited from _CommandBars.)
Public method GetScreentipMso Returns the screentip of the control identified by the idMso parameter as a String. (Inherited from _CommandBars.)
Public method GetSupertipMso Returns the supertip of the control identified by the idMso parameter as a String. (Inherited from _CommandBars.)
Public method GetVisibleMso Returns True if the control identified by the idMso parameter is visible. (Inherited from _CommandBars.)
Public method ReleaseFocus Releases the user interface focus from all command bars. (Inherited from _CommandBars.)
Public method remove_OnUpdate Reserved for internal use. (Inherited from _CommandBarsEvents_Event.)

Top

Events

  Name Description
Public event OnUpdate Occurs when any change is made to a command bar. (Inherited from _CommandBarsEvents_Event.)

Top

See Also

Reference

CommandBars Interface

Microsoft.Office.Core Namespace