Button Shape - XML Tutorial
Version 1.6

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

Button's Property: setShape

Button is part of the GUI elements in Bamboo Suite for building interactive Internet applications. setShape property is always specified for a button. setShape takes four parameters: x, y, width, hight. In this case button resides in the Widget, which is a panel. x and y refers to the widget coordinates. setLabel property is used to name the button. Refer to Reference for complete list of Buttons Properties.

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

button_border.XML Source:

<Widget setSize="110,300" setBackground="cdc9ee">
<Button setShape="10,10,90,25" setLabel="small"/>
<Button setShape="10,40,90,50" setLabel="medium"/>
<Button setShape="10,95,90,100" setLabel="large"/>

[Home][Tutorial] [Demo]

Shape Borders Fonts & Colors Highlights Images Actions Other