TScreen.Cursors property
Provides indexed access to the available mouse cursor shapes for the screen.
Declaration
property Cursors[Index: Integer]: HCURSOR read GetCursors write SetCursors;Description
Cursors is an indexed
HCURSOR property which provides
access to the handle for a mouse cursor shape by its numeric value. The
cursor constants (like
crHourGlass) defined in the
controls.pp unit can be used instead of the numeric value.
Cursors uses an internal TMap instance to store the handle values
and provides access using the index values. When the value for the property
is read, CreateStandardCursor in the widgetset class is called to
retrieve the handle. If it has not been assigned, a temporary
TCursorImage is created for the cursor resource and its handle is
added to the internal map.
Setting a new value for the indexed property causes an existing handle in the internal map to be re-created.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
