API:Vcl.ActnMan.TCustomActionControl.DragDrop
Delphi
procedure DragDrop(Source: TObject; X: Integer; Y: Integer); override;
C++
DYNAMIC void __fastcall DragDrop(System::TObject* Source, int X, int Y);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.ActnMan.pas Vcl.ActnMan.hpp |
Vcl.ActnMan | TCustomActionControl |
Description
Is an OnDragDrop event dispatcher.
Vcl.ActnMan.TCustomActionControl.DragDrop inherits from Vcl.Controls.TControl.DragDrop. All content below this line refers to Vcl.Controls.TControl.DragDrop.
Is an OnDragDrop event dispatcher.
When creating a component that descends from TControl, override DragDrop to add additional code that executes before the OnDragDrop event handler is called.
The Source parameter is the object that was dropped onto the control. The X and Y parameters are the mouse coordinates where the object was dropped.