Skip to content

CommandBarEdit Object Members

See Also

CommandBarEdit Overview

See Also


CommandBarEdit Object Members

Public Methods

Method Description
Public MethodClone Creates a clone of the control and returns it as a new object.
Public MethodCopy Copies the control to a specified menu bar or toolbar in the indicated position.
Public MethodDelete Deletes the control.
Public MethodExecute Executes the control.
Public MethodGetRect Returns the top, left, right, and bottom coordinates of the button.
Public MethodReset Resets the icon, caption, and style of the control.
Public MethodSetFocus Sets the focus to a control.
Public MethodSetIconSize Sets the icon size of the control.

Public Properties

Property Description
Public PropertyAction Gets/Sets the action associated with this control.
Public PropertyBeginGroup Gets/Sets a boolean value indicating whether a control is a separator and thus begins a new group.
Public PropertyBuddyButtonId Gets/Sets the id of the button to use as a buddy for the edit control.
Public PropertyCaption Gets/Sets the caption of the control.
Public PropertyCategory Gets/Sets the category of the control.
Public PropertyChecked Gets/Sets a boolean value indicating whether the control is checked.
Public PropertyCloseSubMenuOnClick Gets/Sets whether the popup menu will close as soon as the user makes a mouse click on the menu.
Public PropertyControls Gets the collection of controls that are the siblings of this control.
Public PropertyCustomShortcutText Gets/Sets the shortcut text of the control. (Obsolete)
Public PropertyDefaultItem Retrieves whether or not the control is the default menu item.
Public PropertyDescriptionText Gets/Sets the description text of the control.
Public PropertyEditHandle EditHandle property stores a reference to the HANDLE (hWnd) of the edit control.
Public PropertyEditHint Gets/Sets the grayed-out text displayed in the edit control that displays a helpful description of what the control is used for.
Public PropertyEditIconId Id of the icon to be displayed in the edit control.
Public PropertyEditStyle Specifies or retrieves the style of the edit box control.
Public PropertyEnabled Gets/Sets a boolean value indicating whether the control is enabled.
Public PropertyExecuteOnPressInterval Specifies the number of milliseconds between calls to the Execute event while the mouse is pressed on the control.
Public PropertyFlags Retrieves the special flags for the control.
Public PropertyHasFocus HasFocus property specifies whether the Edit control currently has focus.
Public PropertyHeight Gets/Sets the height of the control.
Public PropertyHideFlags Retrieves the HideFlags of the control.
Public PropertyIconId Gets/Sets the control icon's identifier.
Public PropertyId Gets/Sets the numeric identifier of the control.
Public PropertyIndex Gets the index of the control.
Public PropertyKeyboardTip Specifies the KeyboardTip that will be displayed when the Alt key is pressed and ShowKeyboardTips is true.
Public PropertyLeft Returns the distance between the left edge of the control and the left edge of its container.
Public PropertyNumericOnly Gets/Sets a boolean value indicating whether only numeric input is allowed.
Public PropertyParameter 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 PropertyParent Gets the parent CommandBar of the control.
Public PropertyReadOnly ReadOnly property specifies whether the Edit Control is ReadOnly.
Public PropertyRibbonGroup Gets/Sets the RibbonGroup object the control belongs to.
Public PropertyShellAutoComplete Enables or disables the system's shell auto completion functionality.
Public PropertyShortcutText Gets/Sets the shortcut text of the control. (Obsolete)
Public PropertyShowLabel Gets/Sets whether the label of the edit control is to be shown.
Public PropertyShowSpinButtons Specifies whether to use spin buttons instead of a drop-down button to display/change the value in the edit control.
Public PropertyStyle Gets/Sets the style of the control.
Public PropertyText Gets the currently selected item's text.
Public PropertyTextLimit Specifies the number of characters that can be entered into the edit box.
Public PropertyTooltipText Gets/Sets the tooltip text for the control.
Public PropertyTop Returns the distance between the top edge of the control and the top edge of its container.
Public PropertyType Gets the type of the control.
Public PropertyVisible Gets/Sets a boolean value indicating whether the control is visible.
Public PropertyWidth Gets/Sets the width of the control.

See Also

CommandBarEdit Overview


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