CommandBarCheckBox Object Members
See also: CommandBarCheckBox Overview
Public Methods
-
Clone → CommandBarControl
Creates a clone of the control and returns it as a new CommandBarControl object. -
Copy
Copies the control to a specified menu bar or toolbar in the indicated position. -
Delete
Deletes the button from the command bar. -
Execute
Executes the control. -
GetRect
Returns the top, left, right, and bottom coordinates of the button. -
Reset
Resets the icon, caption, and style of the control. -
SetFocus
Sets the focus to the given control. -
SetIconSize
Sets the size of the icon used for the control.
Public Properties
-
Action — CommandBarAction
CommandBarAction object associated with this control. -
BeginGroup
Gets/Sets a boolean value indicating whether the control is a separator and thus begins a new group. -
Caption
Gets/Sets the caption of the control. -
Category
Gets/Sets the category of the control. -
Checked
Gets/Sets a boolean value indicating whether the control is checked. -
CloseSubMenuOnClick
Gets/Sets whether the popup menu will close as soon as the user makes a mouse click on the menu. -
Controls
Gets the collection of controls which are the siblings of this control. -
CustomShortcutText
Gets/Sets the custom shortcut text shown for the control. -
DefaultItem
Retrieves whether or not the control is the default menu item. -
DescriptionText
Gets/Sets the description text of the control. -
Enabled
Gets/Sets a boolean value indicating whether the control is enabled. -
ExecuteOnPressInterval
Specifies the number of milliseconds between calls to the Execute event while the mouse is pressed on the control. -
Flags
Retrieves the special flags for the control. -
Height
Gets/Sets the height of the control. -
HideFlags
Retrieves the HideFlags of the control. -
IconId
Gets/Sets the control icon's identifier. -
Id
Gets/Sets the numeric identifier of the control. -
Index
Gets the index of the control. -
KeyboardTip
Specifies the KeyboardTip that will be displayed when the Alt key is pressed and ShowKeyboardTips is true. -
Left
Returns the distance between the left edge of the control and the left edge of its container. -
Parameter
Gets/Sets the parameter of the control. This is equivalent to the "Tag" property; you can store any extra data needed for your program. -
Parent
Gets the parent CommandBar of the control. -
RibbonGroup — RibbonGroup
Reference to the RibbonGroup object the control belongs to. -
ShortcutText
Gets/Sets the shortcut text of the control. (Obsolete) -
Style
Gets/Sets the style of the control. -
TooltipText
Gets/Sets the tooltip text for the control. -
Top
Returns the distance between the top edge of the control and the top edge of its container. -
Type
Gets the type of the control. -
Visible
Gets/Sets a boolean value indicating whether the control is visible. -
Width
Gets/Sets the width of the control.
See also: CommandBarCheckBox Overview
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.