Vcl.Controls.TControl.DragDrop

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DragDrop(Source: TObject; X, Y: Integer); dynamic;

C++

DYNAMIC void __fastcall DragDrop(System::TObject* Source, int X, int Y);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

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.

See Also