Description
Use this property to get or set an object’s current state.
Declaration
TestObj.State
| Read-Write Property | Integer | 
| TestObj | A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section | |||
Applies To
The property is applied to the following objects:
View Mode
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Property Value
One of the following constants:
| Constant | Value | Description | ||
|---|---|---|---|---|
cbUnchecked | 
0 | 
The control is unchecked. | ||
cbChecked | 
1 | 
The control is checked. | ||
cbGrayed | 
2 | 
The control is grayed.
							
  | 
Remarks
To toggle the control’s state, use the DoDefaultAction method.
