CommandBars Members (Office)
A collection of CommandBar objects that represent the command bars in the container application.
Methods
Name |
Description |
---|---|
Creates a new command bar and adds it to the collection of command bars. |
|
Commits the rendering transaction. Returns Nothing. |
|
Executes the control identified by the idMso parameter. |
|
Gets a CommandBarControl object that fits a specified criteria. |
|
Gets the CommandBarControls collection that fits the specified criteria. |
|
Returns True if the control identified by the idMso parameter is enabled. |
|
Returns an IPictureDisp object of the control image identified by the idMso parameter scaled to the dimensions specified by width and height. |
|
Returns the label of the control identified by the idMso parameter as a String. |
|
Returns a value indicating whether the toggleButton control identified by the idMso parameter is pressed. |
|
Returns the screentip of the control identified by the idMso parameter as a String. |
|
Returns the supertip of the control identified by the idMso parameter as a String. |
|
Returns True if the control identified by the idMso parameter is visible. |
|
Releases the user interface focus from all command bars. |
Properties
Name |
Description |
---|---|
Gets the CommandBarControl object whose OnAction property is set to the running procedure. Read-only. |
|
Gets a CommandBar object that represents the active menu bar in the container application. Read-only. |
|
This property checks or unchecks the check box control for the option to show menus in Microsoft Office as full or personalized. Read/write. |
|
Gets an Application object that represents the container application for the CommandBars object (you can use this property with an Automation object to return that object's container application). Read-only. |
|
Gets a count of the number of command bars in the host application. Read-only. |
|
Gets a 32-bit integer that indicates the application in which the CommandBars object was created. Read-only. |
|
Is True if the Answer Wizard dropdown menu is enabled. Read/write. |
|
Is True if toolbar customization is disabled. Read/write. |
|
Is True if the font names in the Font box are displayed in their actual fonts. Read/write. |
|
Is True if shortcut keys are displayed in the ToolTips for each command bar control. Read/write. |
|
Is True if ScreenTips are displayed whenever the user positions the pointer over command bar controls. Read/write. |
|
Gets a CommandBar object from the CommandBars collection. Read-only. |
|
Is True if the toolbar buttons displayed are larger than normal size. Read/write. |
|
Gets or sets a MsoMenuAnimation that represents the way a command bar is animated. Read/write. |
|
Gets the Parent object for the CommandBars object. Read-only. |
Events
Name |
Description |
---|---|
Occurs when any change is made to a command bar. |