next up previous contents
Next: TextBox Up: Element on a configuration page Previous: Menu

Radio

 

tex2html_wrap1039


A Radio is used to select one out of several, where each element is visible.

Standard Options

-text
This is the title for the element.
-default
This is the default value of the element as text. (default value if not set: the first element)
-defaultIndex
This is a shortcut, which set the default value to the element with the given index.
-entries
This is a list of the element which are the entries you can select.
-count
This tells how many columns you want.(default: 5)
-entryhelp
This is a list {"element 1" "help for element 1" "element 2" "help for element 2" ....
If this is given, the -entries option is ignored.
-help
This is help for the overall Radio element.
-export
This tells wether the widget shall be exported or not.

Link to Variables

A Radio links to an associative array with the same name as the Radio, and with the following keys:

name
This is the text which is selected
index
This is the index of the selected element.



Jesper Kjær Pedersen <blackie@imada.ou.dk>
Wed Oct 2 13:29:53 MET DST 1996