Vcl.RibbonActnCtrls.TCustomRibbonComboBox.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.RibbonActnCtrls.pas
Vcl.RibbonActnCtrls.hpp
Vcl.RibbonActnCtrls TCustomRibbonComboBox

Description

Performs actions and generates an OnDragDrop event.

The DragDrop method is called when a user drags and drops an item Source onto the ribbon base button control at the coordinates X,Y and generates 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.