Sign in Join
FPDoc Onlineexperiment

TCustomBitBtn.LoadGlyphFromResourceName procedure

Member of TCustomBitBtnpublicIn unit Buttons

Loads the Glyph image with the specified named from a resource instance.

Declaration

pascal
procedure LoadGlyphFromResourceName(Instance: TLCLHandle; 
 const AName: string)

Arguments

Instance

Handle for the resource instance where the glyph image is stored.

AName

Resource name for the glyph loaded in the method.

Description

Calls the LoadGlyphFromLazarusResource routine in buttons.pas to load the bitmap for the specified resource name into the Glyph for the button control.

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

See also

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