[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 138

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. 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 TButtonGlyph.GetImageIndexAndEffect for more information about image retrieval for the button glyph with a given state.

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 external list of images that can be used as the Glyph image,

TButtonGlyph.ExternalImageIndex

  

Ordinal position for the bitmap in ExternalImages displayed when the button is Up (not pressed).

TButtonGlyph.ExternalImageWidth

  

Width for the images in the ExternalImages property.

TButtonGlyph.GetImageIndexAndEffect

  

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


Version 4.0 Generated 2025-05-03 Home