Returns or sets whether the object is checked or unchecked.
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. |
AOption can be one of the following:
Value |
Description |
False* |
The control is not checked. |
True |
The control is checked. |
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.
The following statement changes the ARadioButton to set the checkmark box to be checked:
radDC.Value=True