Vcl.ExtCtrls.TBandDragEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TBandDragEvent)(System::TObject* Sender, Vcl::Controls::TControl* Control, bool &Drag);

Properties

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

Description

TBandDragEvent is the type of a band's Vcl.ExtCtrls.TCustomControlBar.OnBandDrag and Vcl.ExtCtrls.TCustomControlBar.OnBandDrag event handlers.

Sender is the control bar object in which the user is trying to drag a control.

Control is the child of Sender that the user is trying to drag.

Change the Drag parameter to false to prevent the drag operation. If Drag remains true on exit from the event handler, the drag operation proceeds.

See Also