Returns or sets the height of the buttons.
Object.ButtonHeight [ = fButtonHeight ]
The ButtonHeight property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AToolBar |
AToolBar control |
|
fButtonHeight |
Float |
The height of the buttons |
ButtonHeight and ButtonWidth use the scale unit of the AToolbar control's container. The scale unit is determined by the ScaleMode property of the container.
By default, the ButtonWidth and ButtonHeight properties are automatically updated to accommodate the string in the Caption property or image in the Image property of the Button object.
The following statement sets the height of the AToolBar buttons to 48 pixels:
tbr1.ButtonHeight=48
ButtonCount, Buttons, ButtonWidth, InsertButton, MoveButton, OnButtonClick, OnButtonDblClick, RemoveButton