DesignIntf.TDragTarget.DragOver

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
DesignIntf.pas
DesignIntf.hpp
Unit: DesignIntf
Parent: TDragTarget

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 ;

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).

See Also