RadioControl_Group clears all radio buttons in the group each time the user selects a button.
Return Value
svInit is a string vector which contains the initializing string for each dialog element. The initializing string for a radio button is either the string "1" or "0".
Parameters
svInit is a string vector which contains the initializing string for each dialog element. The initializing string for a radio button is either the string "1" or "0".
iRadio is the index of the radio button and refers to the vector svInit.
rvGroup is an index vetor with the indices of all radio buttons of a group of radio button.
History
| Version | Description |
|---|---|
| 4.5.0 | New |
Example
def _Radio1(svInit, iRadio)
{
return RadioControl_Group(svInit, iRadio, [2, 3, 4]);
}
def _Radio2(svInit, iRadio)
{
return RadioControl_Group(svInit, iRadio, [6, 7, 8, 9]);
}
def RadioDialogBox()
{
svTemplate = ["|G4 |", ..
"|BR Radio 1 @_Radio1|", ..
"|BR Radio 2 @_Radio1|", ..
"|BR Radio 3 @_Radio1|", ..
"", ..
"|G5 |", ..
"|BR Radio 1 @_Radio2|", ..
"|BR Radio 2 @_Radio2|", ..
"|BR Radio 3 @_Radio2|", ..
"|BR Radio 4 @_Radio2|", ..
""];
svInit = ["Group 1", "1", "0", "0", "Group2", "1", "0", "0", "0"];
DialogBox(svTemplate, svInit, "Example 18");
}
See also
id-222569