[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Buttons' (#lcl)

LoadGlyphFromStock

Loads the bitmap for the specified Glyph using the image for the specified button identifier.

Declaration

Source position: buttons.pp line 523

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

TCustomBitBtn.LoadGlyphFromStock

  

Loads a stock glyph image for the specified button identifier.

LoadGlyphFromStock

  

Loads the bitmap for the specified Glyph using the image for the specified button identifier.

GetButtonIcon

  

Gets a bitmap with the glyph image for the specified button identifier.


Version 3.2 Generated 2024-02-25 Home