LoadGlyphFromStock procedure
Loads the bitmap for the specified Glyph using the image for the specified button identifier.
Declaration
procedure LoadGlyphFromStock(AGlyph: TButtonGlyph; idButton: Integer)Arguments
AGlyph | TButtonGlyph where the bitmap is stored. |
idButton | Button identifier for the image loaded in the routine. |
Description
LoadGlyphFromStock is a procedure used to load a
TBitmap into the
AGlyph argument with the image used
for the button identifier in
idButton. LoadGlyphFromStock calls
the
GetButtonIcon routine to load the graphic image for the button
identifier.
Used in the implementation of the LoadGlyphFromStock method in
both TCustomBitBtn.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
