Radio
From Documentation
Revision as of 09:41, 19 November 2010 by Jumperchen (talk | contribs)
Radio
Employment/Purpose
A radio button is a component that can be turned on and off. Radio buttons are grouped together in a group, called radiogroup. Only one radio button with the same group may be selected at a time.
Example
<window title="Radiobox & Radio Demo" width="200px" border="normal">
<vbox>
<radiogroup onCheck="fruit.value = self.selectedItem.label">
<radio label="Apple" />
<radio label="Orange" />
<radio label="Banana" />
</radiogroup>
You have selected :
<label id="fruit" style="color:red" />
</vbox>
</window>
Supported Events
None | None |
- Inherited Supported Events: Checkbox
Supported Children
*NONE
Use Cases
Version | Description | Example Location |
---|---|---|
3.6 | Radio buttons with Listitems | http://www.zkoss.org/forum/listComment/3867 |
3.6 | Radiogroup radio's in seperate table/grid rows | http://www.zkoss.org/forum/listComment/9002 |
See also: Radiogroup
Version History
Version | Date | Content |
---|---|---|