[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The number of glyphs available for button states.
Source position: buttons.pp line 137
public property TButtonGlyph.NumGlyphs : TNumGlyphs |
NumGlyphs is a TNumGlyphs property which indicates the number of glyphs available for its button states. The default value for the property is 1 (the low value for the range), and indicates that a single image is used for all button states in the TButtonGlyph.
The value in NumGlyphs is updated when a TBitmap instance is directly assigned to the Glyph property, and when GetImageIndexAndEffect retrieves the Images and drawing effect(s) for a given display density (PPI).
Reading the value in NumGlyphs causes the ExternalImages property to be examined; when it is assigned, the value for the property is always 1 (corresponding to the ExternalImageIndex). Otherwise, the value in the internal member is used.
Changing the value in NumGlyphs causes the Refresh method to be called.
|
The bitmap image drawn as the glyph on the button. |
|
|
Contains a reference to an external list of images that can be used as the Glyph image, |
|
|
Ordinal position for the bitmap in ExternalImages displayed when the button is Up (not pressed). |
|
|
Updates the button glyph after changes to property values. |
|
|
Defines the range of values available to access button glyphs. |
Version 4.0 | Generated 2025-05-03 | Home |