Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxButtonImageOptions.NumGlyphs Property

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

#Declaration

Delphi
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