IToolbarButton

Description

The IToolbarButton interface contains properties and methods of the button placed on the toolbar.

Properties

   Property name Brief description
Action

The Action property determines the ActionItem action associated with the button of the ToolBar toolbar.
AdditionalShortCuts

The AdditionalShortCuts property returns the collection of additional combinations of hot keys that are associated with this button of the toolbar.
BeginGroup

The BeginGroup property enables the user to separate the groups of components on the toolbar visually by a vertical line.
DisplayText

The DisplayText property determines whether button text is displayed to the right of the button icon on the toolbar.
Down

The Down property determines, in which state the button is.
Enabled

The Enabled property determines whether a component is available for the user.
Hint

The Hint property determines a text of the tooltip displayed when the mouse cursor hovers over the button in the toolbar.
ImageIndex

The ImageIndex property determines an image index.
MenuMode

The MenuMode property determines whether the context menu opens on clicking the button.
PopupMenu

The PopupMenu property determines the context menu that is associated with the current button of the toolbar.
ShortCut

The ShortCut property determines combination of hot keys for quick selection of menu item.
Text

The Text property determines a button name in the toolbar.
Toolbar

The Toolbar property returns the parent object.
Visible

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

  Method name Brief description
Click

The Click method generates the OnClick event.

See also:

Forms Assembly Interfaces