Vcl.Controls.TDragObject.DragTarget

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DragTarget: TDragTarget read FDragTarget write FDragTarget;

C++

__property void * DragTarget = {read=FDragTarget, write=FDragTarget};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TDragObject

Description

Specifies the dragged object's target.

Use DragTarget to get the control (if any) that is the current drop target of the drag operation. If there is no control that will accept the dragged object if it is released, DragTarget is nil (Delphi) or NULL (C++).

See Also