Checked Property

Applies to TestComplete 15.47, last modified on January 20, 2023

Specifies whether the check box is checked.

Declaration

componentObj.Checked
Read-Write Property Boolean
componentObj     One of the user forms components listed in the Applies To section  

Applies To

The property applies to the following components:

TcxCheckBox

Description

Use the Checked property to determine or set the check state of a TcxCheckBox component. This property specifies whether the check box is currently checked or unchecked. For an intermediate (grayed) state, this property returns False.

Property Value

True, if the check box is currently checked. False, if the check box is currently unchecked or grayed.

Remarks

To get or set the state of a three-state check box, use the State property.

When you change the Checked value, the value of the State property is automatically updated. If you set Checked to True, the State property will be set to “cbsChecked”. If you set Checked to False, State will be set to “cbsUnchecked”.

See Also

State Property

Highlight search results