Sign in Join
FPDoc Onlineexperiment

TButtonGlyph.Images property

Member of TButtonGlyphpublicIn unit Buttons

The list of available images for the button glyph.

Declaration

pascal
property Images: TCustomImageList read FImages;

Description

Images is a read-only TCustomImageList property which contains the images available for the Glyph in the class instance. The values in Images come from ExternalImages (when an image list has been assigned to its button control). The values may come from the list of bitmaps loaded from the glyph resource with the name in LCLGlyphName.

ExternalImages (when assigned) is used as the source for the Images in the class instance. The images with the resolution needed for the display density (PPI) are scaled to the ExternalImageWidth and stored in Images. LCLGlyphName (when assigned) is used to retrieve a resource in LCLGlyphs when ExternalImages are unassigned.

See GetImageIndexAndEffect for more information about image retrieval for the button glyph with a given state.

See also

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