ButtonHeight Property (AToolBar)

Returns or sets the height of the buttons.

Syntax

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

Comments

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.

Example

The following statement sets the height of the AToolBar buttons to 48 pixels:

tbr1.ButtonHeight=48

Applies to

AToolBar

See Also

ButtonCount, Buttons, ButtonWidth, InsertButton, MoveButton, OnButtonClick, OnButtonDblClick, RemoveButton