API:Vcl.ActnCtrls.TCustomActionCombo.DragDrop

From RAD Studio API Documentation
Jump to: navigation, search

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.ActnCtrls.pas
Vcl.ActnCtrls.hpp
Vcl.ActnCtrls TCustomActionCombo

Description

Is an OnDragDrop event dispatcher.

Vcl.ActnCtrls.TCustomActionCombo.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.

See Also