TButtonGlyph.NumGlyphs property
The number of glyphs available for button states.
Declaration
property NumGlyphs: TNumGlyphs read GetNumGlyphs write SetNumGlyphs;Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
