XML Tutorials Radio Button Group
Version 1.6
This is the archives. For the latest Bambookit GUI 2.0, XML GUI Demos & Tutorials visit: www.bambookit.com/_demo.html


Radio's Property: setGroup

setGroup property is specified for a Radio buttons to group them so the user can select only one at a time from that group. If each of the radio buttons is set to a different group, the user will be able to select all of them since they will represent a different group. If the setGroup property is not specified, all radio buttons created belong to one group by default.
PHP, ASP, JSP, CGI can be used to send data from radio button to database.

Refer to Reference for complete list of Radio Properties.

HTML Source:
<html>
<body>
<applet archive="bamboo_1_5.jar" code="Loader.class" width=110 height=300>
<param name="loadgui" value="radio_group.xml">
</applet>
</body>
</html>

Radui_group.XML Source:

<Widget setSize="110,300" setBackground="cdc9ee">
<Radio setShape="10,10,90,25" setLabel="group a" setGroup="a"/>
<Radio setShape="10,40,90,50" setLabel="group a" setGroup="a"/>
<Radio setShape="10,95,90,100" setLabel="group b" setGroup="b"/>
<Radio setShape="10,10,90,25" setLabel="group b" setGroup="b"/>
<Radio setShape="10,40,90,50" setLabel="group c" setGroup="c"/>
<Radio setShape="10,95,90,100" setLabel="group c" setGroup="c"/>
</Widget>

[Home][Tutorial] [Demo]

Radio
Borders Fonts & Colors Highlights Images Groups Other