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

# TCursorImage

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TCursorImage - an Icon to be used to represent a cursor

## Declaration

Source position: graphics.pp line 1728

`type TCursorImage = class(TCustomIcon)`
`protected`
`procedure HandleNeeded; override;` |  | HandleNeeded - method to signal that a handle is required
`protected`
`class function GetDefaultSize; override;` |  | GetDefaultSize - returns default size for Icon
`class function GetSharedImageClass; override;` |  | GetSharedImageClass - returns the class of Shared Raster Image
`class function GetTypeID; override;` |  | GetTypeID - returns Identifier for type of Icon
`class function GetFileExtensions; override;` |  | GetFileExtensions - returns a list of the file extensions available
`public`
`function GetResourceType; override;`
`function LazarusResourceTypeValid(); override;` |  | Check that the Resource specified for reading or writing is a valid type - result True if it is
`function ReleaseHandle;` |  | ReleaseHandle - free the handle used for the cursor Image
`property HotSpot: TPoint; [r]` |  | HotSpot - the coordinates of the point to which the cursor refers, and which represents the 'active' position on the current form or canvas
`property Handle: HCURSOR; [rw]` |  | The Operating System Handle allocated for this cursor
`end;`

## Inheritance

`TCursorImage` |  | TCursorImage - an Icon to be used to represent a cursor
`TCustomIcon` |  | TCustomIcon - base class for TIcon
`TRasterImage` |  | TRasterImage - base class for a number of graphic controls, including TCustomBitmap and TCustomIcon, which use a raster of dots to display graphic information
`TGraphic` |  | TGraphic - Base class for dealing with Graphic images
`TPersistent`
`TObject`

The latest version of this document can be found at lazarus-ccr.sourceforge.net .