Vcl.ActnMenus.TCustomMenuItem.DoDragDrop
Delphi
procedure DoDragDrop(DragObject: TObject; X: Integer; Y: Integer); override;
C++
virtual void __fastcall DoDragDrop(System::TObject* DragObject, int X, int Y);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | Vcl.ActnMenus.pas Vcl.ActnMenus.hpp |
Vcl.ActnMenus | TCustomMenuItem |
Description
Executes the drag-and-drop operation.
DoDragDrop is called to execute the drag-and-drop operation.
DragObject is the dragged object that is dropped onto the tool bar.
X and Y are the mouse coordinates where DragObject was dropped.
If DragObject is a category of a dragged object, execute the drag operation for each item of the category.