Vcl.ExtCtrls.TBandMoveEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TBandMoveEvent = procedure (Sender: TObject; Control: TControl;
var ARect: TRect) of object;

C++

typedef void __fastcall (__closure *TBandMoveEvent)(System::TObject* Sender, Vcl::Controls::TControl* Control, System::Types::TRect &ARect);

Properties

Type Visibility Source Unit Parent
type
typedef
public
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls Vcl.ExtCtrls

Description

TBandMoveEvent is the type of the Vcl.ExtCtrls.TCustomControlBar.OnBandMove and Vcl.ExtCtrls.TCustomControlBar.OnBandMove event handler.

Sender is the control bar in which a band is about to be moved.

Control is the control on the band that is about to be moved (usually a TToolBar object).

ARect is the area to which the control is about to be moved. This value can be adjusted from within the event handler.

See Also