XML Tutorials Combo Box
Version 1.6

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

Combo's Property: setBorder

There are many borders available for combo. In the applet shown on the left some of them are displayed: flat, squaredraised, squaredlowered, roundraised, roundlowered, groove, ridge. Combos are named based on their set border for you to be displayed. setBorder, setLabel, setBackground, setShape, setBackgroundHighlight and setForegroundHighlight are properties that are used in the combo_border.xml file. Refer to Reference for complete list of Properties.

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

combo_border.XML Source:

<Widget setSize="110,230" setBackground="f8f4db" setAlign="left" setBackgroundHighlight="d8d0bb">
<Combobox setShape="10,10,90,25" setLabel="flat" setBorder="flat" setForegroundHighlight="666666">
<Listbox setBackgroundHighlight="d8d0bb" setForegroundHighlight="666666" >
<Item setLabel="test1"/>
<Item setLabel="test2"/>
<Item setLabel="test3"/>
<Item setLabel="test4"/>
<Item setLabel="test5"/>
<Item setLabel="test6"/>
<Item setLabel="test7"/>
</Listbox>
</Combobox>
</Widget>

[Home][Tutorial] [Demo]

Combo
Shape Borders Fonts & Colors Highlights Images Actions Other