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

TButtonGlyph.LCLGlyphName

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

Declaration

Source position: buttons.pp line 135

public property TButtonGlyph.LCLGlyphName : string
  read FLCLGlyphName
  write SetLCLGlyphName;

Description

LCLGlyphName is a String property used to store the name for the LCL resource used as the Glyph for the class instance. Changing the value in LCLGlyphName causes existing entries in Images and ExternalImages to be removed, and the OnChange event handler to be signalled. The Image lists are not modified when the property is set to an empty string ('').

LCLGlyphName normally contains a value like those in BitBtnResNames, and represents a standard resource name used in the LCL.

See also

TButtonGlyph.Glyph

  

The bitmap image drawn as the glyph on the button.

TButtonGlyph.Images

  

The list of available images for the button glyph.

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.OnChange

  

Event handler for a change in the glyph.

BitBtnResNames

  

Contains resource names for corresponding button identifiers in TBitBtn.