[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The bitmap image drawn as the glyph on the button.
Source position: buttons.pp line 135
public property TButtonGlyph.Glyph : TBitmap |
Glyph is a TBitmap property with the bitmap image drawn as the glyph for the class instance. The value in Glyph is created/loaded when a bitmap is assigned directly to the property, or when loaded from a Lazarus resource or stock icon.
Assigning a new TBitmap value to Glyph causes the reference in ExternalImages to be discarded. The GlyphChanged method is assigned to the OnChange event handler in the bitmap to track changes to the image. If the Bitmap contains multiple adjacent images (determined using Width and Height), the NumGlyphs property is updated to contain the number of glyphs stored in the bitmap. The Refresh method is called to update the button glyph following changes to its property values.
|
Provides a default implementation for the OnChange event handler. |
|
|
Contains a reference to an external list of images that can be used as the Glyph image, |
|
|
The number of glyphs available for button states. |
|
|
Updates the button glyph after changes to property values. |
Version 4.0 | Generated 2025-05-03 | Home |