XML Tutorials Edit Control Shape
Version 1.6

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

Edit's Property: setShape

setShape property is always specified for a Edit. setShape takes four parameters: x, y, width, hight. In this case Edit resides in the Widget, which is a panel. x and y refers to the widget coordinates. setLabel property is used to name the Edit. Refer to Reference for complete list of Edits Properties.

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

Edit_shape.XML Source:

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

[Home][Tutorial] [Demo]

Shape Borders Fonts & Colors Other