Sign in Join
FPDoc Onlineexperiment

TDragImageListResolution.DragMove function

Member of TDragImageListResolutionpublicIn unit Controls

Moves the drag image to the specified position.

Declaration

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

Arguments

X

New horizontal coordinate for the drag image.

Y

New vertical coordinate for the drag image.

Function result

True if the drag image is already active and its position is updated in the widgetset class.

Description

DragMove is a Boolean function used to move the drag image in the resolution to the position specified in the X and Y arguments.

The return value indicates that the Dragging property is already set to True, and that the widgetset class was able to perform the move operation. An internal member with the last position for the drag image is updated when the method is successfully completed.

DragMove is called from the corresponding method in TDragImageList.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.