Value Property (ACheckBox)

Returns or sets whether the object is unchecked, checked, or dimmed.

Syntax

Object.Value [ = enValue ]

The Value property syntax has the following parts:

 

Part

Type

Description

Object

ACheckBox

ACheckBox control

enValue

enumACheckBoxValue

An integer specifying whether the control is checked or unchecked.

Where

enumACheckBoxValue can be one of the following:

 

Name

Value

Description

achkUnchecked

0*

The control is not checked.

achkChecked

1

The control is checked.

achkGrayed

2

The control is dimmed.

Example

The following statement changes the ACheckBox to set the checkmark box to be unchecked (blank):

cb1.Value=achkUnchecked

Applies to

ACheckBox

See Also

OnChange