DesignIntf.TDragTarget.DragOver
Delphi
function DragOver(Target, Source: TObject; X, Y: Integer; State: TDragState): Boolean; virtual; abstract;
C++
virtual bool __fastcall DragOver(System::TObject* Target, System::TObject* Source, int X, int Y, System::Uitypes::TDragState State) = 0 ;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | DesignIntf.pas DesignIntf.hpp |
DesignIntf | TDragTarget |
Description
Drag over event dispatcher.
The Source parameter represents the object that is dragged. The State parameter indicates the position of Source in relation to the underlying control (see TDragState).
DragOver should return whether the drag operation is accepted (this method is abstract in TDragTarget).