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

# TCustomControlBar.OnBandMove

Event handler signalled when a control band is moved on the control bar.

## Declaration

Source position: extctrls.pp line 1676

`public property TCustomControlBar.OnBandMove : TBandMoveEvent read FOnBandMove write FOnBandMove;`

## Description

Signalled from the DoBandMove method (when assigned) using the TCustomControlBar and TCtrlBand instances as arguments. It is also signalled when the visibility and size for bands on the control are updated in InitializeBand.

## See also

TCustomControlBar.InitializeBand |  | Configures a control bar band and calculates its row position, order, and geometry including client decorations.
TCustomControlBar.MoveBand |  | Performs actions needed when a band is moved to new position.
TCustomControlBar.InsertControl |  | Creates and stores a new band for the specified control.
TCustomControlBar.CheckBandsSizeAndVisibility |  | Updates the size and visibility for TCtrlBand instances defined in the control bar.