Skip to main content

TcxButtonImageOptions.NumGlyphs Property

Specifies the number of glyphs in the source image loaded through the Glyph property.

Declaration

property NumGlyphs: TNumGlyphs read; write; default 1;

Property Value

Type Default Description
TNumGlyphs 1

The number of glyphs in the loaded source image.

Remarks

Use the NumGlyphs property to specify the number of glyphs stored in an image loaded through the Glyph property. The loaded image can contain from 1 to 4 identically-sized glyphs arranged in a row from left to right. The order of glyphs in the source image defines their corresponding button states.

Refer to the Glyph property description for detailed information on glyphs and corresponding button states.

Note

The NumGlyphs property has no effect on the button glyph specified through the ImageIndex property.

Default Value

The NumGlyphs property’s default value is 1.

See Also