Purpose | With
RadioButton
you can replace
an input field with a series of radiobuttons. Instead of having to enter
a certain code, the user can simply click on one of the radiobuttons. This
will make the operation much easier for the untrained user and save time
for the trained user. Instead of a single field you can also specify up to 6 fields and values for one radiobutton. In this case clicking on the radiobutton means that each of these fields gets the corresponding value when you press the Enter button. Please note: In addition, there is a RadioButton syntax if you work with InputScripts and internal variables; see InputAssistant Documentation RadioButton. |
Example |
RadioButton
(10,1)
"Cash sale"
F[Order
type]
"CS"
RadioButton (11,1) "Internet order" F[Order type] "IO" RadioButton (12,1) "Returns" F[Order type] "RE" del F[Order type] A radiobutton with text "Cash sale" will appear at row 10, column 1. Clicking on the text or button is equivalent to entering the value "CS" in the field [Order type]. Similarly, when the system displays the screen with a value "CS" in the field [Order type], the radiobutton "Cash sale" is activated. |
Format |
RadioButton
(position)
"Text next to radiobutton"
[Input field]
"Value"
RadioButton (position) "Text next to radiobutton" [F1] "V1" [F2] "V2" ... |
Example with several fields |
RadioButton
(10,50)
"Foods"
F[Division]
"05"
F[Sales office]
"0001"
RadioButton (11,50) "Cosmetics" F[Division] "14" F[Sales office] "0002" del F[Division] del F[Sales office] |
Tips & Tricks |
|
Components | GuiXT |