Sign in Join
FPDoc Onlineexperiment

TCustomSpeedButton.LoadGlyphFromResourceName procedure

Member of TCustomSpeedButtonpublicIn unit Buttons

Loads the image for the Glyph with the specified name from a resource instance.

Declaration

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

Arguments

Instance

Handle for the resource with the specified glyph.

AName

Name of the glyph image resource loaded for the control.

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.