XML Tutorial Online Calendar
Calendar's properties setLocation, setBackground, setBackgroundHighlight setBorder
Calendar has to be located within Widget control. setLocation is used to specify location of the Calendar within the Widget, as
it is displayed in XML Source. setBackground is used to configure the background color. As you move mouse through the dates
they get highlighted, which is affected by setBackgroundHighlight property. There are many choices of borders available for
a calendar (none, flat, squareraised, squarelowered, roundraised, roundlowered, roundraisedthin, roundloweredthin,
squareraisedthin, squareloweredthin, text groove, ridge, flat.). In our example setBorder property was set to "flat".
Reference for complete list of Properties.
XML source for this applet.
- <applet archive="bamboo_1_5.jar" code="Loader.class" width=150 height=320>
- <param name="loadgui" value="tutorials_calendar_currentdate.xml">
- <Widget setShape="0,0,150,400" setBackground="d8d0bb" setBorder="none">
- <Calendar setLocation="10,25" setBorder="flat" setBackground="f8f4db" setBackgroundHighlight="d8d0bb"/>
<Calendar setLocation="10,25" setBorder="flat" setBackground="f8f4db" setBackgroundHighlight="d8d0bb"/>