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

TCustomBitBtn.NumGlyphs

The number of glyph bitmaps available for the control.

Declaration

Source position: buttons.pp line 220

public property TCustomBitBtn.NumGlyphs : Integer
  read GetNumGlyphs
  write SetNumGlyphs
  default 1;

Description

NumGlyphs is a TNumGlyphs property with the number of images in the bitmap assigned to the Glyph property. The property value is read from and written to the internal TButtonGlyph instance for the control. Changing the value for the property causes the original image to be re-examined and split into separate images based on the Width specified in the ImageWidth property.

See also

TCustomBitBtn.Glyph

  

Bitmap with the Glyph displayed on the control.

TCustomBitBtn.ImageWidth

  

Width for the value in Images displayed on the button control.

TButtonGlyph.NumGlyphs

  

The number of glyphs available for button states.


Version 4.0 Generated 2025-05-03 Home