| Search Locate Previous Next | Contents |
Description
Interface to the IE4-style Rebar controls. You can have a single toolbar, or you can set the Cool property to true to allow several toolbars to share the same region at the top of the form. At present, the only valid child control is the new-style tool button.
As the user drags these around, the depth of the parent region may change (also setting captions on/off will affect this) so you can ask the toolcontrol to manage a collection of other objects by listing any number of group names in the Reposition property.
N.B. If you have several toolcontrols, only set this property on the first one you create. You can use the Sequence property to change the actual order in which they appear.
N.B. Do not set the Newline property of the first control in the sequence to 1, Dyalog tolerates this, but it confuses the repositioning algorithm!
Class Property Table
| Name | Type | Default | Description |
| Locals | Namelist | ||
| Align | OneOf | Top | |
| Style | OneOf | ||
| Cool | Bool | Occupy a Coolbar parent | |
| Newline | User | Does it start a new line in the coolbar? | |
| Sequence | Runtime | Order relative to other tool controls | |
| Artwork | Runtime | e.g. a 16 × 16n integer array of bitmap data | |
| SeeThru | Int | 8 | Colour used as transparent (not yet implemented) |
| Captions | Runtime | Boolean are captions shown on the buttons | |
| Visible | Runtime | Is ToolControl visible (boolean) | |
| Reposition | Stringlist | Group(s) to be repositioned when size changes or bar is hidden | |
| CurrentNS | Runtime | Namespace where data is found and actions run |
Class-specific Events
| PC | Post-Create |
| CAP | Captions on/off |
Class-specific Functions
| GetIndex | Query sequence relative to other controls |