| Search Locate Previous Next | Contents |
Description
Toolbar button for use with the new Toolcontrol. You have no control over the layout of the buttons they are simply created in sequence, so use the object sorter to put them into the correct order. The ToolTip gives the bubble-help to show over the button. The caption will be shown depending on the ShowCaption property of the parent tool control. Note that the pictures on the buttons are defined by the artwork property of the parent toolcontrol, and if captions are off, the picture size determines the size of the button. You can override the picture index if you wish by default the tools pick up the images in the order of creation.
To add separators (a vertical groove in a standard toolbar) use a toolbutton with the separator style and no caption.
Class Property Table
| Name | Type | Default | Description |
| Hint | String | ||
| Accelerator | String | Hotkey (e.g. Ctrl+S) | |
| ToolTip | String | Tip (simple text vector) | |
| ImageIndex | Int | Overrides default image sequence (Origin-1 always) | |
| Active | Runtime | Boolean singleton | |
| Style | OneOf | ||
| Menu | Runtime | For buttons with style dropdown |