Vcl.ExtCtrls.TBeginBandMoveEvent
Delphi
TBeginBandMoveEvent = procedure (Sender: TObject; Control: TControl; var AllowMove: Boolean) of object;
C++
typedef void __fastcall (__closure *TBeginBandMoveEvent)(System::TObject* Sender, Vcl::Controls::TControl* Control, bool &AllowMove);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | Vcl.ExtCtrls |
Description
TBeginBandMoveEvent is the type of the Vcl.ExtCtrls.TCustomControlBar.OnBeginBandMove and Vcl.ExtCtrls.TCustomControlBar.OnBeginBandMove event handlers.
Sender is the control bar in which a band is about to be painted.
Control is the control on the band that is about to be painted.
AllowMove gives this event handler the ability to suppress the move.