TripleState Property

Applies To

Check Box Control, Option Button Control, Toggle Button Control.

Description

You can use the TripleState property to specify how a check box, toggle button, or option button will display Null values.

Note The TripleState property does not apply to the specified controls when they are used inside of an option group control.

Setting

The TripleState property uses the following settings.

Setting

Description

Visual Basic


Yes

The control will cycle through states for Yes, No, and Null values.

True (-1)

No

(Default) The control will cycle through states for Yes and No values. Null values display like No values.

False (0)


You can set the TripleState property in a control’s property sheet, a macro, or using Visual Basic. You can also set this property in the control’s default control style.

This property can be set in any view.

Remarks

When the TripleState property of a control is set to Yes, the control appears dimmed when its Value property is set to Null.