Xceed SmartUI lets you mimic OutlookBars or ViewBars. Like every SmartUI, you can of course create objects, which are horizontally orientated (Orientation=orHorizontal).
This SmartUI:
Now a few more details on the SmartItems: this SmartUI contains ViewBarButtonGroup SmartItems with Caption and Image, and ToolTipText, as shown in "Page".
Within the same group, only one ViewBarButtonGroup can be checked. In this case, "Page" is checked (Checked=True).
See Lesson 4 for more information.
The second example is rather similar, but the SmartUI is horizontal (Orientation=orHorizontal), and displays a Pager3D ScrollBar style (ScrollBarStyle=sbPager3D).
See Lesson 4 for more information.
The third example shows a SmartUI containing GroupHeaderObject SmartItems ("Outlook Shortcuts", "My Shortcuts", "Other Shortcuts"). Each GroupHeaderObject Value is set to an object name. This object can be a SmartUI or any other object from the same parent (in this case, the objects are SmartUI objects).
This SmartUI:
Now let's have a more detailed look at the SmartItems.
The HotTrackSelect is set to true: leaving the mouse a few second on the SmartItem automatically generates the Click event. No need to click on the SmartItem to select it!
The "Outlook Shortcut" GroupHeaderObject contains a SmartUI, which has the following properties:
This SmartUI contains ViewBarDefault SmartItems, with Image, and a ForeColor set to "Highlight Text", and which are aligned to the center (Alignment=alCenter).
See Lesson 20 for more information.
The fourth example is rather similar. It shows a SmartUI with the same properties than in the 3rd example, described above, namely a SmartUI containing GroupHeaderObject SmartItems ("Outlook Shortcuts", "My Shortcuts", "Other Shortcuts"). Each GroupHeaderObject Value is also set to an object name. This object can be a SmartUI or any other object from the same parent (in this case, the objects are SmartUI objects).
For the SmartUI properties, please see above.
Now let's have a more detailed look at the SmartItems.
The "My Shortcuts" GroupHeaderObject contains a SmartUI, which has the following properties:
This SmartUI contains ViewBarSmallDefault SmartItems, with Image, and a ForeColor set to "Highlight Text", and which are aligned to the left (Alignment=alLeftJustify). As you can see here, the Caption of ViewBarSmallDefault SmartItems is displayed on the right side of the object.
See Lesson 20 for more information
The fifth example shows a SmartUI containing GroupHeaderObject SmartItems ("First", "Second", "Third"). As above, each GroupHeaderObject Value is set to an object name. This object can be a SmartUI or any other object from the same parent (in this case, the objects are SmartUI objects).
This SmartUI:
Now let's have a more detailed look at the SmartItems.
Here is a good example of the different Alignment possibilities. The 1st GroupHeaderObject has its Caption set to "First", and is aligned to the left (Alignment=alLeftJustify). The 2nd GroupHeaderObject has its Caption set to "Second", and is aligned to the center (Alignment=alCenter). The 3rd GroupHeaderObject has its Caption set to "Third", and is aligned to the right (Alignment=alRightJustify).
The 3 GroupHeaderObject SmartItems have a Image (an orange "1" bullet) and a HotImage (the red "1" bullet seen here).
The HandPointer (HandPointer=True) Property is set to true.
The "Second" GroupHeaderObject contains a custom made object similar to the Outlook Notes object.
See Lesson 20 for more information.