DesignIntf.TDragTarget.DragOver

De RAD Studio API Documentation
Aller à : navigation, rechercher

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 ;

Propriétés

Type Visibilité  Source Unité  Parent
function public
DesignIntf.pas
DesignIntf.hpp
DesignIntf TDragTarget

Description

Répartiteur d'événements pour les opérations de glissement.

Le paramètre Source représente l'objet glissé. Le paramètre State indique la position de Source par rapport au contrôle sous-jacent (voir TDragState).

DragOver doit renvoyer si l'opération de glissement est acceptée (cette méthode est abstraite dans TDragTarget).

Voir aussi