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 collection of additional combinations of hot keys that are connected with this this button of the toolbar.
The BeginGroup property allows to separate the groups of component on the toolbar visually by the vertical line.
The DisplayText property indicates whether the 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 user.
The Hint property determines text of the tooltip that is displayed when the cursor points at the button in the toolbar.
The ImageIndex property determines the image index.
The MenuMode property determines whether the context menu is called on pressing the button.
The PopupMenu property determines the context menu that is connected with the current button of the toolbar.
The ShortCut property determines combination of hot keys for the quick selection of menu item.
The Text property determines the 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 child property, the index of which is passed by the input parameter.
Data The Data property is used to store any custom data.
Name The Name property specifies the component name.
Tag The compiler does not use the Tag property. A 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 main mouse button on the button placed on the toolbar.

See also:

Forms Assembly Classes