Vcl.ActnMan.TCustomActionBar.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 | TCustomActionBar |
Description
Generates an OnDragDrop event.
DragDrop is called automatically when the user drops a control onto the TCustomActionBar descendant. When creating an action band that descends from TCustomActionBar, override DragDrop to add additional code that executes when 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.