Radio buttons are used to represent mutually exclusive choices.
The convention is to enclose the radio buttons in a group box.
The ButtonChecked property of the radio button indicates whether it is checked. By default the buttons are not checked. The following code issues a message telling which one of two radio buttons has been checked:
EVTROUTINE HANDLING(#PHBN_1.Click)
If cond('#rdbn_1.ButtonChecked *EQ true ')
use builtin(message_box_show) with_args(OK OK Information 'Radio Button'
'Radio button 1 has been selected')
else
use builtin(message_box_show) with_args(OK OK Information 'Radio Button'
'Radio button 2 has been selected')
endif
ENDROUTINE
A field can be visualized as a set of radio buttons.