Vcl.ExtCtrls.TCustomControlBar.OnBandMove

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnBandMove: TBandMoveEvent read FOnBandMove write FOnBandMove;

C++

__property TBandMoveEvent OnBandMove = {read=FOnBandMove, write=FOnBandMove};

Properties

Type Visibility Source Unit Parent
event protected
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TCustomControlBar

Description

Occurs when a control band is moving.

Write an OnBandMove event handler to perform actions when a band is moving.

Use OnBandMove to specify the destination rectangle for the band. For example, adjust the destination rectangle so that its right edge matches the right edge of the control bar. This means the control extends to the control bar's right edge no matter where it is moved.

OnBandMove is an event handler of type Vcl.ExtCtrls.TBandMoveEvent.

See Also