Vcl.ExtCtrls.TCustomControlBar.DoBandMove
Delphi
procedure DoBandMove(Control: TControl; var ARect: TRect); virtual;
C++
virtual void __fastcall DoBandMove(Vcl::Controls::TControl* Control, System::Types::TRect &ARect);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TCustomControlBar |
Description
Generates an OnBandMove event.
Do not call DoBandMove. It is called automatically when a band is moved in the control bar.
Control is the band that is about to be moved.
ARect is the area to which the control is about to be moved. This value can be changed by the OnBandMove event handler.
Override DoBandMove to perform actions in addition to calling the OnBandMove event handler when a band is moved.