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

# TCoolBand.MinWidth

Minimum width for the band.

## Declaration

Source position: comctrls.pp line 2522

`published property TCoolBand.MinWidth : Integer read FMinWidth write SetMinWidth default cDefMinWidth;`

## Description

MinWidth is an Integer property which contains the minimum number of pixels used as the width of the band when it is drawn on its parent TCoolBar control. The default value for the property is defined in the cDefMinWidth constant in the class instance.

Changing the value for the property causes the Changed method to be called to update the item in the bands collection for the parent control (TCoolBar).

MinWidth is used in the CalcPreferredWidth method where the preferred width with vertical spacing is calculated for the band.

## See also

TCoolBand.MinHeight |  | Minimum height for the band.
TCoolBand.CalcPreferredWidth |  | Calculates the band width using the orientation and settings in the parent control.