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

TButtonGlyph.Images

The list of available images for the button glyph.

Declaration

Source position: buttons.pp line 134

public property TButtonGlyph.Images : TCustomImageList
  read FImages;

Description

Images is a read-only TCustomImageList property which contains the images available for the Glyph in the class instance.

Images is used in conjunction with the ExternalImages and LCLGlyphName properties. 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. Otherwise, existing items in Images are used.

See TButtonGlyph.GetImageIndexAndEffect for more information about image retrieval for the button glyph.

See also

TButtonGlyph.LCLGlyphName

  

Stores the standard LCL resource name used for the Glyph in the class instance.

TButtonGlyph.ExternalImages

  

Contains a reference to an existing list of images available for use in the Glyph property.

TButtonGlyph.ExternalImageIndex

  

Ordinal position in the external image list for the glyph image.

TButtonGlyph.ExternalImageWidth

  

Width of an image in the external image list.

TButtonGlyph.GetImageIndexAndEffect

  

Gets the index for a button image using a given state, and the effect used to draw it.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.