ToolbarButton

Description

The ToolbarButton class implements the button that can be placed on the ToolBar toolbar.

Properties inherited from IToolbarButton

   Property name Brief description
The Action property determines the ActionItem action associated with the button of the ToolBar toolbar.
The AdditionalShortCuts property returns the collection of additional combinations of hot keys that are associated with this button of the toolbar.
The BeginGroup property enables the user to separate the groups of components on the toolbar visually by a vertical line.
The DisplayText property determines whether button text is displayed to the right of the button icon on the toolbar.
The Down property determines, in which state the button is.
The Enabled property determines whether a component is available for the user.
The Hint property determines a text of the tooltip displayed when the mouse cursor hovers over the button in the toolbar.
The ImageIndex property determines an image index.
The MenuMode property determines whether the context menu opens on clicking the button.
The PopupMenu property determines the context menu that is associated with the current button of the toolbar.
The ShortCut property determines combination of hot keys for quick selection of menu item.
The Text property determines a button name in the toolbar.
The Toolbar property returns the parent object.
The Visible property determines whether a button is displayed on the toolbar during form execution.

Properties inherited from IComponent

  Property name Brief description
ComponentCount The ComponentCount property returns the number of child components located on the parent component.
Components The Components property returns the child component, which index is passed by the input parameter.
Data The Data property is used to store any custom data.
Name The Name property determines a component name.
Tag The compiler does not use the Tag property. The user can change the value of the Tag property and use it as he wishes.

Methods inherited from IToolbarButton

  Method name Brief description
The Click method generates the OnClick event.

Events

  Event name Brief description
OnClick The OnClick event occurs when the user presses and releases the mouse button on the button placed on the toolbar.

See also:

Forms Assembly Classes