Skip to content

CommandBarPopup Object Members

See Also

CommandBarPopup Overview

See Also

Command Bars ActiveX Control v24.0

CommandBarPopup Object Members

Public Methods

Method Description
Public Method Clone Creates a clone of the control and returns it as a new object.
Public Method Copy Copies the button.
Public Method Delete Deletes the popup.
Public Method Execute Executes the control.
Public Method GetRect Returns the top, left, right, and bottom coordinates of the button.
Public Method Reset Resets the icon, caption, and style of the control.
Public Method SetFocus Sets the focus to a given control.
Public Method SetIconSize Sets the icon size for the control.

Public Properties

Property Description
Public Property Action Gets/Sets the action associated with this control.
Public Property BeginGroup Gets/Sets a boolean value indicating whether the control is a separator and thus begins a new group.
Public Property Caption Gets/Sets the caption of the control.
Public Property Category Gets/Sets the category of the control.
Public Property Checked Gets/Sets a boolean value indicating whether the control is checked.
Public Property CloseSubMenuOnClick Gets/Sets whether the popup menu will close as soon as the user makes a mouse click on the menu.
Public Property CommandBar Gets the child command bar associated with this control.
Public Property Controls Gets the collection of controls which are the siblings of this control.
Public Property CustomShortcutText Gets/Sets the custom shortcut text of the control.
Public Property DefaultItem Retrieves whether or not the control is the default menu item.
Public Property DescriptionText Sets/Gets the description text of the control.
Public Property Enabled Gets/Sets a boolean value indicating whether the control is enabled.
Public Property ExecuteOnPressInterval Specifies the number of milliseconds between calls to the Execute event while the mouse is pressed on the control.
Public Property Flags Retrieves the special flags of the control.
Public Property Height Gets/Sets the height of the control.
Public Property HideFlags Retrieves the HideFlags of the control.
Public Property IconId Gets/Sets the control icon's identifier.
Public Property Id Gets/Sets the numeric identifier of the control.
Public Property Index Gets the index of the control.
Public Property KeyboardTip Specifies the KeyboardTip that will be displayed when the Alt key is pressed.
Public Property Left Returns the distance between the left edge of the control and the left edge of its container.
Public Property Parameter Gets/Sets the parameter of the control. This is the equivalent to the "Tag" property. You can store any extra data needed for your program.
Public Property Parent Gets the parent CommandBar of the control.
Public Property RibbonGroup Gets the RibbonGroup object the control belongs to.
Public Property ShortcutText Gets/Sets the shortcut text of the control. (Obsolete)
Public Property Style Gets/Sets the style of the control.
Public Property TooltipText Gets/Sets the tooltip text for the control.
Public Property Top Returns the distance between the top edge of the control and the top edge of its container.
Public Property Type Gets the type of the control.
Public Property Visible Gets/Sets a boolean value indicating whether the control is visible.
Public Property Width Gets/Sets the width of the control.

See Also

CommandBarPopup Overview


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.