[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TDragDockObject.GetDragCursor

Gets the drag cursor shape for the class instance.

Declaration

Source position: controls.pp line 600

protected function TDragDockObject.GetDragCursor(

  Accepted: Boolean;

  X: Integer;

  Y: Integer

):TCursor; override;

Arguments

Accepted

  

True when the dragged object can be docked at the specified position.

X

  

Horizontal coordinate for the mouse pointer.

Y

  

Vertical coordinate for the mouse pointer.

Function result

TCursor shape used as the drag cursor. crDrag when Accepted. crNoDrop when not Accepted.

See also

TDragObject.GetDragCursor

  

Returns the dragging cursor type (shape).


Version 4.0 Generated 2025-05-03 Home