Table of contents
TOC
Collapse the table of content
Expand the table of content

CommandBarPopup Members (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Represents a pop-up control on a command bar.

Represents a pop-up control on a command bar.

Methods

NameDescription
CopyCopies a command bar popup control to an existing command bar.
DeleteDeletes the CommandBarPopup object from its collection.
ExecuteRuns the procedure or built-in command assigned to the specified CommandBarPopup control.
MoveMoves the specified CommandBarPopup control to an existing command bar.
ResetResets a built-in CommandBarPopup control to its original function and face.
SetFocusMoves the keyboard focus to the specified CommandBarPopup control. If the popup is disabled or isn't visible, this method will fail.

Properties

NameDescription
ApplicationGets an Application object that represents the container application for the CommandBarPopup object (you can use this property with an Automation object to return that object's container application). Read-only.
BeginGroupGets True if the specified command bar control appears at the beginning of a group of controls on the command bar. Read/write.
BuiltInIs True if the specified command bar popup is a built-in command bar of the container application. Returns False if it's a custom command bar. Read-only.
CaptionGets or sets the caption text for a command bar control. Read/write.
CommandBarGets a CommandBar object that represents the menu displayed by the specified pop-up control. Read-only.
ControlsGets a CommandBarControls object that represents all the controls on a pop-up control. Read-only.
CreatorGets a 32-bit integer that indicates the application in which the CommandBarPopup object was created. Read-only.
DescriptionTextGets or sets the description for a command barpopup control. Read/write.
EnabledIs True if the CommandBarPopup is enabled. Read/write.
HeightGets or sets the height of a CommandBarPopup control. Read/write.
HelpContextIdGets or sets the Help context Id number for the Help topic attached to the CommandBarPopup control. Read/write.
HelpFileGets or sets the file name for the Help topic attached to the CommandBarPopup control. Read/write.
IdGets the ID for a built-in CommandBarPopup control. Read-only.
IndexGets a Long representing the index number for a CommandBarPopup object in the collection. Read-only.
IsPriorityDroppedGets True if the CommandBarPopup control is currently dropped from the menu or toolbar based on usage statistics and layout space. (Note that this is not the same as the control's visibility, as set by the Visible property). Read-only.
LeftGets the horizontal position of the specified CommandBarPopup control (in pixels) relative to the left edge of the screen. Returns the distance from the left side of the docking area. Read-only.
OLEMenuGroupGets or sets a MsoOLEMenuGroup constant that represents the menu group that the specified command bar pop-up control belongs to when the menu groups of the OLE server are merged with the menu groups of an OLE client (that is, when an object of the container application type is embedded in another application). Read/write.
OLEUsageGets or sets the OLE client and OLE server roles in which a CommandBarPopup control is used when two Microsoft Office applications are merged. Read/write.
OnActionGets or sets the name of a Visual Basic procedure that will run when the user clicks or changes the value of a CommandBarPopup control. Read/write.
ParameterGets or sets a string that an application can use to execute a command from a CommandBarPopup control. Read/write.
ParentGets the Parent object for the CommandBarPopup object. Read-only.
PriorityGets or sets the priority of a CommandBarPopup control. Read/write.
TagGets or sets information about the CommandBarPopup control, such as data that can be used as an argument in procedures, or information that identifies the control. Read/write.
TooltipTextGets or sets the text displayed in a CommandBarPopup'sScreenTip. Read/write.
TopGets the distance (in pixels) from the top edge of the specified CommandBarPopup control to the top edge of the screen. Read-only.
TypeGets the type of CommandBarPopup control. Read-only.
VisibleGets or sets the Visible property of the CommandBarPopup control. Read/write.
WidthGets or sets the width (in pixels) of the specified CommandBarPopup control. Read/write.
© 2018 Microsoft