XML Tutorials Radio Button Borders
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: setBorder

There are many borders available for Radio: none, flat, squareraised, squarelowered, roundraised, roundlowered, roundraisedthin, roundloweredthin, squareraisedthin, squareloweredthin, text groove, ridge. In the applet shown on the left some of them are displayed: none, flat, squaredraised, squaredlowered, roundraised, roundlowered, groove, ridge, text. The Checkboxes are named based The Radios are named based on their set border for you to be displayed. setBorder, setLabel and setShape are Radio's property that are used in the XML files.

PHP, ASP, JSP, CGI can be used to send data from radio button to database. Refer to Reference for complete list of Properties.

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

Radio_border.XML Source:

<Widget setSize="110,300" setBackground="cdc9ee">
<Radio setShape="10,10,90,25" setLabel="none" setBorder="none"/>
<Radio setShape="10,40,90,25" setLabel="flat" setBorder="flat"/>
<Radio setShape="10,70,90,25" setLabel="squareraised" setBorder="squareraised"/>
<Radio setShape="10,100,90,25" setLabel="squaredlowred" setBorder="squarelowered"/>
<Radio setShape="10,130,90,25" setLabel="roundraised" setBorder="roundraised"/>
<Radio setShape="10,160,90,25" setLabel="roundlowered" setBorder="roundlowered"/>
<Radio setShape="10,190,90,25" setLabel="groove" setBorder="groove"/>
<Radio setShape="10,220,90,25" setLabel="ridge" setBorder("ridge"/>
<Radio setShape="10,250,90,25" setLabel="text" setBorder="text"/>
</Widget>

[Home][Tutorial] [Demo]

Radio
Borders Fonts & Colors Highlights Images Groups Other