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

TScreen.Cursor

Indicates the current mouse cursor shape.

Declaration

Source position: forms.pp line 1276

public property TScreen.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

TScreen.Cursors

  

Provides indexed access to the available mouse cursor shapes for the screen.

TScreen.RealCursor

  

Gets the value for the Cursor property taking temporary cursors into account.

Controls.crDefault

  

Indicates that the default cursor from the system should be utilized.


Version 3.2 Generated 2024-02-25 Home