Vcl.Controls.TDragImageList.DragMove

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function DragMove(X, Y: Integer): Boolean;

C++

bool __fastcall DragMove(int X, int Y);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TDragImageList

Beschreibung

Verschiebt das mit SetDragImage festgelegte Drag-Bild an eine neue durch X und Y festgelegte Position innerhalb des aktuell zugeordneten Fensters. Das Fenster muss sich dabei im Drag-Modus befinden.

Mit der Methode DragMove kann während einer Drag&Drop-Operation das gezogene Bild verschoben werden. Bei Erfolg wird der Wert True zurückgegeben.

Siehe auch