[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# TCoolBand.HorizontalOnly

Indicates if the band is limited to the horizontal orientation.

## Declaration

Source position: comctrls.pp line 2520

`published property TCoolBand.HorizontalOnly : Boolean read FHorizontalOnly write SetHorizontalOnly default False;`

## Description

HorizontalOnly is a Boolean property which indicates whether the band can be displayed when the Vertical property in the TCoolbar control is set to True. The default value for the property is False, and allows the band to be displayed in the vertical orientation. When set to True, the band is not visible in the vertical orientation.

Changing the value for the property causes the Changed method to be called to update the item in the bands collection for the tool bar.

## See also

TCoolBand.Visible |  | Indicates whether the band is visible on the parent control.
TCustomCoolBar.Vertical |  | Indicates if the control is displayed vertically instead of horizontally.