State

[property icon] State

Determines or sets the state of a checkbox

Integer property

Applies to: CheckBox , Radio


[property icon] State$

String to represent current state for testing forms

Runtime-only String property

Applies to: Form


>

State

This property is used to determine or set the state of a Check Box or Radio button. Returns TRUE if the check box is filled or the radio button selected. For example, the following could be used to determine the state of the check box:

BoxState = .cbControl1.State

If the Check box is ThreeState check box then the this property will return TRUE if the check box is checked and a value of 2 if the box is grayed.

See also

CheckBox methods, properties and events. Form methods, properties and events. Radio methods, properties and events.