GlyphCount Property

Applies to TestComplete 15.70, last modified on December 17, 2024

Specifies the number of parts in the image specified by the Glyph property.

Declaration

componentPropObj.GlyphCount
Read-Write Property Integer
componentPropObj     One of the objects listed in the Applies To section  

Applies To

This property applies to the following objects:

TcxCheckBoxProperties

Description

The Glyph image can be divided into several parts, each part corresponding to a specific check box state (checked, unchecked and so on). Use the GlyphCount property to obtain or specify the number of parts in the Glyph image. To learn how to arrange several images within the Glyph image, see the Glyph property description.

The number of parts in Glyph cannot be determined automatically. You should manually specify the GlyphCount property value.

Property Value

An integer value between 0 and 6 that signifies the number of parts in the Glyph bitmap. The default value is 6. The table below describes all possible values:

Value Description
0 The Glyph image is not used. The component displays the standard check box.
1 The whole Glyph image is displayed instead of the check box.
2 The Glyph image contains two parts. The first image represents the unchecked state, the second - checked state.
3 The Glyph image contains three parts, which represent the unchecked, checked and intermediate (grayed) states respectively.
4 The Glyph image contains four parts. The first and fourth images represent the unchecked state when the check box is not pressed and pressed respectively. The second and third images represent the checked and intermediate (grayed) states respectively.
5 The Glyph image contains four parts. The first and fourth images represent the unchecked state, when the check box is not pressed and pressed respectively. The second and fifth images represent the checked state, when the check box is not pressed and pressed respectively. The third image represents the intermediate (grayed) state.
6 The Glyph image contains six parts. The first three images represent the unchecked, checked and intermediate (grayed) states respectively, when the check box is not pressed. The last three images represent the same states when the check box is pressed.

See Also

Glyph Property

Highlight search results