Sign in Join
FPDoc Onlineexperiment

CursorToString function

In unit Controls

Returns a string with the name for the cursor in the integer constant.

Declaration

pascal
function CursorToString(Cursor: TCursor): string

Arguments

Cursor

Numeric constant from the TCursor range converted to a string in the routine.

Function result

Returns a string with the name of the cursor type corresponding to the integer constant, or a value like '%-31' when Cursor is not found in the look-up table.

Description

Calls CursorToIdent to find correct entry in look-up table.

See also

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