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

TCustomIcon.LoadFromResourceHandle

Loads icon data from the specified instance and resource handles.

Declaration

Source position: graphics.pp line 1637

public procedure TCustomIcon.LoadFromResourceHandle(

  Instance: THandle;

  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.

See also

TIcon.LoadFromResourceHandle

  

Loads icon data from the specified instance and resource handles.

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