Skip to content

CommandBarScrollBar Object Members

See Also

See Also


CommandBarScrollBar 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 given control.
Public MethodSetIconSize Sets the icon size.

Public Properties

Property Description
Public PropertyAction Gets/Sets the action associated with this control.
Public PropertyBeginGroup Gets/Sets a boolean value indicating whether the control is a separator and thus begins a new group.
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 which are the siblings of this control.
Public PropertyCustomShortcutText Gets/Sets the custom shortcut text for the control.
Public PropertyDefaultItem Retrieves whether or not the control is the default menu item.
Public PropertyDescriptionText Sets/Gets the description text of the 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 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.
Public PropertyLeft Returns the distance between the left edge of the control and the left edge of its container.
Public PropertyMax Gets/Sets the upper limit of the scrollbar control's range.
Public PropertyMin Gets/Sets the lower limit of the scrollbar control's range.
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 PropertyPos Gets/Sets the current position of the scroll bar, whose return value is always between the values for the Max and Min properties, inclusive.
Public PropertyRibbonGroup Gets the RibbonGroup object the control belongs to.
Public PropertyScrollBarStyle Gets/Sets the style of the scrollbar.
Public PropertyShortcutText Gets/Sets the shortcut text of the control. (Obsolete)
Public PropertyStyle Gets/Sets the style of the control.
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


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