Sign in Join
FPDoc Onlineexperiment

LCLGlyphs function

In unit ImgList

Provides access to the TLCLGlyphs instance in the implementation.

Declaration

pascal
function LCLGlyphs: TLCLGlyphs

Function result

The TLCLGlyphs instance in the implementation.

Description

LCLGlyphs is a TLCLGlyphs function used to provide access to the TLCLGlyphs instance in the implementation section for the unit. LCLGlyphs ensures that the unit variable has been instantiated, and resolutions are registered using 16, 24, and 32 pixel sizes. The unit variable is freed in the finalization section for the unit.

LCLGlyphs is used to get the TButtonGlyph icons displayed using TButton and TBitBtn, and in the implementation of the Lazarus IDE.

See also

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