Value Property (ARadioButton)

Returns or sets whether the object is checked or unchecked.

Syntax

Object.Value [ = bValue ]

The Value property syntax has the following parts:

 

Part

Type

Description

Object

ARadioButton

A RadioButton control

bValue

AOption

An integer specifying whether the control is checked or unchecked.

Where

AOption can be one of the following:

 

Value

Description

False*

The control is not checked.

True

The control is checked.

Comments

This property can be set at design time or run time.

Only one radio button within the group can be checked at any given time.

Changing the property will cause the OnChange event to be called.

Example

The following statement changes the ARadioButton to set the checkmark box to be checked:

radDC.Value=True

Applies to

ARadioButton

See Also

GroupName, OnChange