XML Tutorial Edit Control - 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

Edit's Property: setBorder

There are many borders available for Edit. In the applet shown on the some of them are displayed: none, flat, squaredraised, squaredlowered, roundraised, roundlowered, groove, ridge, text. The Edit controls are named based on their set border for you to be displayed. setBorder, setLabel and setShape are Edit's properties that are used in the XML files. Refer to Reference for complete list of Edit Properties.

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

edit_border.XML Source:

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

[Home][Tutorial] [Demo]

Shape Borders Fonts & Colors Other