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

# TCtrlBand

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Represents a band and control displayed by TControlBar.

## Declaration

Source position: extctrls.pp line 1523

`type TCtrlBand = class`
`public`
`property BandRect: TRect; [rw]` |  | Contains the bounds for the band control.
`property Bottom: Integer; [r]` |  | Position of the bottom of the band control.
`property Control: TControl; [rw]` |  | Contains the control displayed on the band.
`property ControlHeight: Integer; [rw]` |  | Stored Height for the Control used during resizing.
`property ControlLeft: Integer; [rw]` |  | Stored Left position for the Control used in comparisons during resizing.
`property ControlTop: Integer; [rw]` |  | Stored Top position for the Control used in comparisons during resizing.
`property ControlWidth: Integer; [rw]` |  | Stored Width for the Control used in comparisons during resizing.
`property ControlVisible: Boolean; [rw]` |  | Stores the visibility for the Control.
`property Height: Integer; [rw]` |  | Stored Height for the band used in comparisons during resizing.
`property InitLeft: Integer; [rw]` |  | Stores the initial Left position for the band during a move operation.
`property InitTop: Integer; [rw]` |  | Stores the initial Top position for the band during a move operation.
`property Left: Integer; [rw]` |  | Contains the Left position for the band.
`property Right: Integer; [rw]` |  | Contains the Right position for the band.
`property Top: Integer; [rw]` |  | Contains the Top position for the band.
`property Visible: Boolean; [rw]` |  | Indicates if the band and its Control are visible.
`property Width: Integer; [rw]` |  | Contains the dimensions for the band.
`end;`

## Inheritance

`TCtrlBand` |  | Represents a band and control displayed by TControlBar.
`TObject`

## Description

TCtrlBand is a class used to represent a band displayed on TCustomControlBar / TControlBar. It provides properties needed for the Control drawn on the band, its visibility, and position and size information.

TCtrlBand is the type created and stored in the TCtrlBands container.

## See also

TCtrlBands |  | Container used to store TCtrlBand instances.