The RadioButtons edit style

If a column can take one of a small number of values, you might want to display the column as radio buttons.

StepsTo use the RadioButtons edit style:

  1. Select RadioButtons from the Style Type box for a DataWindow column.

  2. Specify how many radio buttons will display in the Columns Across box.

  3. Enter a set of display and data values for each button you want to display.

    The display values you enter become the text of the buttons; the data values are put in the DataWindow buffer when the button is clicked.

    NoteUsing accelerator keys To use an accelerator key on a radio button, enter an ampersand (&) in the Display Value before the letter that will be the accelerator key. On Windows CE devices, you can use the SIP keyboard to enter the accelerator key and change the radio button selection. However, there is no Alt key on the SIP keyboard that would allow users to change focus to the radio button control.

What happens

Users select values by clicking a radio button. When the Update function is issued, the data values are sent to the database.