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

type TCursorImage = class(TCustomIcon)

protected

  procedure HandleNeeded; override;

  

Ensures that a handle for the image is allocated in widgetset classes.

  class function GetDefaultSize; override;

  

GetDefaultSize - returns default size for Icon.

  class function GetStreamSignature; override;

  

Gets the stream signature used for icon data.

  class function GetSharedImageClass; override;

  

Gets the class reference used to create new shared image instances in the class.

  class function GetTypeID; override;

  

Gets the icon type identifier used in the image list header.

public

  class function GetFileExtensions; override;

  

Returns a list of the file extensions available.

  function GetResourceType; override;

  

Gets the resource type identifier for the cursor image.

  procedure LoadFromResourceHandle(); override;

  

Loads icon data from the specified instance and resource handles.

  function LazarusResourceTypeValid(); override;

  

Determines if the specified resource type is valid for the image format.

  function ReleaseHandle;

  

ReleaseHandle - free the handle used for the cursor Image.

  procedure SetCenterHotSpot;

  

Updates the HotSpot coordinate to the center point for the Current image in the cursor.

  property HotSpot: TPoint; [rw]

  

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]

  

Handle for the cursor image.

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

  

Abstract base class used for images in supported image formats.

|

TPersistent,IFPObserved

|

TObject

See also

TCustomIcon

  

TCustomIcon - base class for TIcon.


Version 3.2 Generated 2024-02-25 Home