Sign in Join
FPDoc Onlineexperiment

TCustomBitBtn.LoadGlyphFromResource procedure

Member of TCustomBitBtnpublicIn unit Buttons

Loads the glyph image for the specified button identifier from the internal LCL resource.

Declaration

pascal
procedure LoadGlyphFromResource(idButton: TButtonImage)

Arguments

idButton

Button identifier for glyph image loaded in the method.

Description

LoadGlyphFromResource is a method used to load the glyph for the specified button identifier from the internal LCL resource with the button images. idButton contains a value in the TButtonImage range for the button identifier. No actions are performed in the method if idButton is not in the TButtonImage range.

LoadGlyphFromResource calls the LoadGlyphFromResource routine using the resource name in BitBtnResNames for the button identifier.

See also

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