Sign in Join
FPDoc Onlineexperiment

TCustomIcon.LoadFromResourceHandle procedure

Member of TCustomIconpublicIn unit Graphics

Loads icon data from the specified instance and resource handles.

Declaration

pascal
procedure LoadFromResourceHandle(Instance: TLCLHandle; 
 ResHandle: TFPResourceHandle); virtual

Arguments

Instance

Handle with the resource data loaded in the method.

ResHandle

Resource handle with the icon data loaded in the method.

Description

LoadFromResourceHandle has an empty implementation in TCustomIcon. It is re-implemented in TIcon descendant.

Modified in LCL version 4.0 to use the TLCLHandle type instead of the deprecated THandle type in the Instance parameter.

See also

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