Sign in Join
FPDoc Onlineexperiment

TScreen.Cursor property

Member of TScreenpublicIn unit Forms

Indicates the current mouse cursor shape.

Declaration

pascal
property Cursor: TCursor read FCursor write SetCursor;

Description

Cursor is a TCursor property which identifies the current mouse cursor shape drawn on the screen. The numeric value is the HCURSOR handle for the image drawn as the cursor shape. Cursor constants (like crHourGlass) defined in the controls.pp unit can be used instead of the numeric value.

Cursor is used as an index into the values in the Cursors property where the handle for the TCursorImage resources are stored. Changing the value for the property causes the SetCursor method in the widgetset class to be called to apply the handle in Cursors at the position in Cursor.

See also

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