Vcl.RibbonActnCtrls.TRibbonBaseButtonControl.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.RibbonActnCtrls.pas Vcl.RibbonActnCtrls.hpp |
Vcl.RibbonActnCtrls | TRibbonBaseButtonControl |
Description
Performs actions and generates an OnDragDrop event.
The method is called when a user drags and drops an item Source onto the ribbon base button control at the coordinates X,Y, generating an OnDragDrop event. 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. In addition, ribbon group controls are aligned and update the ribbon Quick Access Toolbar's width.