Try OpenEdge Now
skip to main content
Introducing the Progress Developer Studio for OpenEdge Visual Designer
Creating the Sports Window : Adding an UltraExplorerBar to the form
 

Adding an UltraExplorerBar to the form

The UltraExplorerBar is a control that can emulate the look and the functionality of a variety of user interface elements, including explorer bars, list bars, and toolboxes. It allows you to group applications, documents, or other types of objects under labeled headings that can be expanded or minimized. In the sample application, the UltraExplorerBar emulates the navigation pane of Microsoft Office Outlook® 2003. From the UltraExplorerBar, the user can launch the Customer, Purchase Order, and Department forms.
To add the UltraExplorerBar to the sportsForm:
1. With sportsForm.cls open in the Visual Designer, expand OpenEdge Ultra Controls in the Toolbox.
2. Drag and drop UltraExplorerBar on the form.
3. Select the Dock property in the Properties view. From the drop-down menu, select the Left option, which binds the control to the left border of the form.
4. Set the Style property to OutlookNavigationPane.
5. Right-click on the UltraExplorerBar and choose UltraExplorerBar Designer from the drop-down menu.
6. Click the Groups and Items tab.
7. Click Add Group, then change the Text property to Business. The UltraExplorerBar Designer looks similar to the following illustration:
8. After clicking Add Item:
a. Change the Text property to Customer.
b. Change the Tag property to CustMaint.
The Text property sets the label of the item. The Tag property is a character string that identifies the item to the event handler logic when you click the item.
9. After clicking Add Item:
a. Change the Text property to Purchase Order.
b. Change the Tag property to PurchOrder.
10. Click Add Group, and change the Text property to Personnel.
11. After clicking Add Item:
a. Change the Text property to Department.
b. Change the Tag property to Department.
12. Click Close.
On the Visual Designer canvas, the Sports 2000 form should look similar to the following:
If you do not see both the Business and Personnel groups, try increasing the height of the Sports 2000 form.