Vcl.ActnCtrls.TCustomActionToolBar.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.ActnCtrls.pas
Vcl.ActnCtrls.hpp
Vcl.ActnCtrls TCustomActionToolBar

Description

Generates an OnDragDrop event.

DragDrop is called automatically when the user drags and drops a control onto the tool bar. This method generates an OnDragDrop event, and then updates its list of hidden controls to reflect the presence of the new child control.

Source is the dragged control that is dropped onto the tool bar.

X and Y are the mouse coordinates where Source was dropped.

See Also