Vcl.Ribbon.TCustomRibbonGroup.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.Ribbon.pas Vcl.Ribbon.hpp |
Vcl.Ribbon | TCustomRibbonGroup |
Description
Generates an OnDragDrop event.
DragDrop is called automatically when the user drags and drops a control onto the ribbon group. This method generates an OnDragDrop event, and then updates the ribbon group controls. Source
is the dragged control that is dropped onto the ribbon group. X
and Y
are the mouse coordinates where Source
was dropped.