OfficeBar Example #1


This is OfficeBar styled to emulate Microsoft® Office 2003, the default color scheme. In this example we've defined 3 bars: the first is a menu bar (by including a Bar1=menu parameter) so every button on this bar opens a menu, and no arrowheads are shown beside the buttons. We've set FlatMenuBars to Yes, so this bar is flat and transparent, showing the background colors of the applet.

The second and third bars are both toolbars. Because OfficeBar was able to fit these bars into the same row (and we didn't specify a NewRow or FullWidth parameter for either of them) they appear side by side. You can click-and-drag their drag-grips (at the left of the bars) to drag them horizontally.

We've also specified tooltip parameters for each of the items in the two toolbars, shown when you hover over an item for a moment.

Finally, we've specified a background image using the BgContent parameter, to fill the unused space below the bars, and positioned it using the BgContentLeft and BgContentTop parameters.