Sign in Join
FPDoc Onlineexperiment

LoadGlyphFromLazarusResource procedure

In unit Buttons

Loads the named glyph image from a Lazarus Resource file.

Declaration

pascal
procedure LoadGlyphFromLazarusResource(AGlyph: TButtonGlyph; 
 const AName: string)

Arguments

AGlyph

Class instance where the bitmap for the glyph is stored.

AName

Resource name loaded in the routine.

Description

LoadGlyphFromLazarusResource loads a glyph image with the specified name from a Lazarus Resource file ( .lrs). Used in the implementation of the LoadGlyphFromLazarusResource method in both TCustomBitBtn and TCustomSpeedButton.

See also

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