Sign in Join
FPDoc Onlineexperiment

TControl.Cursor property

Member of TControlpublishedIn unit Controls

Contains the shape for the mouse pointer when the mouse is over the control.

Declaration

pascal
property Cursor: TCursor read GetCursor write SetCursor default crDefault;

Description

Cursor is a TCursor property with the cursor shape displayed when the mouse pointer is hovered over the control. The default value for the property is crDefault.

Changing the value for the property causes a CM_CURSORCHANGED message to be performed to update the control. The value is applied at run-time when the CMCursorChanged method handles the control message.

Use SetTempCursor to display a temporary cursor shape when an action is in progress for the control.

See also

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