[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 1693

`type TCursorImage = class(TCustomIcon)`
`protected`
`procedure HandleNeeded; override;` |  | HandleNeeded - method to signal that a handle is required
`function GetDefaultSize; override;` |  | GetDefaultSize - returns default size for Icon
`function GetSharedImageClass; override;` |  | GetSharedImageClass - returns the class of Shared Raster Image
`function GetTypeID; override;` |  | GetTypeID - returns Identifier for type of Icon
`public`
`function GetFileExtensions; override;` |  | GetFileExtensions - returns a list of the file extensions available
`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.