Setting the state of a radio button
To set the state of a radio button either set the State property within the Forms Designer or modify this property directly within the program. A radio button only has two states, either set or unset. These states can be set with the State property, for example the following would be used to set the radio button:
.rbControl1.State = TRUE
to unset the radio button the state is set back to FALSE.