Sign in Join
FPDoc Onlineexperiment

TCustomSpeedButton.NumGlyphs property

Member of TCustomSpeedButtonpublicIn unit Buttons

The number of glyph bitmaps available for the control.

Declaration

pascal
property NumGlyphs: Integer read GetNumGlyphs write SetNumGlyphs default 1;

Description

NumGlyphs is an Integer property which contains the number of glyph images available to the button control. Its value is read from and written to the NumGlyphs property in the internal TButtonGlyph instance used in the control.

The default value for the property is 1, and is set when a bitmap is assigned to the Glyph property or an image list is assigned to Images. Changing the value for the property causes the control to be redrawn.

Use Images to assign a user-specified list of images that can be used as the glyph for the button states. Use ImageIndex, PressedImageIndex, HotImageIndex, and DisabledImageIndex to specify which image is displayed on the control for the button states.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.