Vcl.Controls.TControl.EndDrag

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure EndDrag(Drop: Boolean);

C++

void __fastcall EndDrag(bool Drop);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

Stops a control from being dragged any further.

Use EndDrag to stop a dragging operation that began with a call to the BeginDrag method.

If the Drop parameter is true, the control being dragged is dropped or docked. If the Drop parameter is false, the control is not dropped or docked and dragging is canceled.

See Also