*BeginRadioGroup()

Creates a radio group.

Syntax

*BeginRadioGroup(group_name, "group_label")

Arguments

group_name
The variable name of the group.
Type: Varname
group_label
The descriptive label of the group.
Type: label

Example

*BeginPanel()
  *Title("Model Type")
  *Prompt("Select the model type.")
  *BeginRadioGroup(model_type, "Model type")
    *Item("Front end of vehicle", "Front end of vehicle")    
    *Item("Rear end of vehicle", "Rear end of vehicle")
    *Item("Full vehicle", "Full vehicle")    
    *Item("Powertrain", "Powertrain model")       
  *EndGroup()
*EndPanel()

Context

*BeginPanel()

Comments

Only one item may be chosen in a radio group at a time.