Vcl.ExtCtrls.TControlBar.OnBandMove

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnBandMove;

C++

__property OnBandMove;

Properties

Type Visibility Source Unit Parent
event published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TControlBar

Description

Occurs when a control band is moving.

Vcl.ExtCtrls.TControlBar.OnBandMove inherits from Vcl.ExtCtrls.TCustomControlBar.OnBandMove. All content below this line refers to Vcl.ExtCtrls.TCustomControlBar.OnBandMove.

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