FMX.Types.IControl.FindTarget
Delphi
function FindTarget(P: TPointF; const Data: TDragObject): IControl;
C++
virtual _di_IControl __fastcall FindTarget(const System::Types::TPointF &P, const TDragObject &Data) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | IControl |
Description
Returns the target control.
Implement it to find the target of a drag-and-drop operation.
P
is the current position of the dragged object.
Data
is the dragged object.