Sign in Join
FPDoc Onlineexperiment

TDragObject.GetDragCursor function

Member of TDragObjectprotectedIn unit Controls

Returns the dragging cursor type (shape).

Declaration

pascal
function GetDragCursor(Accepted: Boolean; X: Integer; Y: Integer)
: TCursor; virtual

Arguments

Accepted

Which cursor to return (rejected: crNoDrop or accepted: crDrag).

X

Horizontal coordinate for the drag cursor.

Y

Vertical coordinate for the drag cursor.

Function result

The cursor to show.

Description

In drag-drop operations the cursor signals acceptance or rejection of an drop, depending on Accepted.

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