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

# TToolBar.RowCount

Number of rows needed to display the buttons for the control.

## Declaration

Source position: comctrls.pp line 2370

`public property TToolBar.RowCount : Integer read FRowCount;`

## Description

RowCount is a read-only Integer property with the number of rows needed to display the Buttons and Controls on the tool bar using its display settings. The value in RowCount is calculated in the WrapButtons method.

## See also

TToolBar.Buttons |  | Lists with the tool buttons on the tool bar.
TToolBar.ButtonHeight |  | Contains the height for buttons on the tool bar control.
TToolBar.ButtonWidth |  | Contains the width for buttons on the tool bar control.
TToolBar.WrapButtons |  | Adjusts tool button sizes and positions, and handles wrapping to new rows or columns.
TToolBar.Wrapable |  | Controls wrapping of tool buttons to the next row when they are too long for the orientation on the tool bar.