Progress
AppBuilder
Developer’s Guide
Configuring a SmartToolbar Instance
A default SmartToolbar has a few properties you can change without writing code. To open the Properties dialog box, select Instance Properties from the menu-button menu. The dialog box opens:
![]()
The settings shown by this dialog box produce the toolbar in Figure 7–1. All but two of the options are set by default:
- Menu — Normally set. Clearing this box turns off the menu-bar component. Turning off the SmartToolbar’s menu-bar component does not allow you to define or use the menu bar that is a feature of the Window widget.
- Toolbar — Normally set. Clearing this box turns off the toolbar component. Of course, you might not feel there is much reason to use the SmartToolbar at all, if you turn off this component.
- Show Border — Normally set. Clearing this box turns off the sunken border (implemented using a Rectangle) that appears surrounding the toolbar.
- Navigation — Normally set. Clearing this box turns off the four buttons that allow the user to change the current-record pointer. It also removes the entire Navigation menu and the Navigation link to the SmartDataObject, if there is one.
- TableIO — Normally set. Clearing this box turns off the six buttons that allow the user to update records and the database. It removes the corresponding items from the File menu and the TableIO link to the SmartDataViewer, if there is one.
- Commit — Normally cleared. Setting this box turns on the Undo and Commit transaction-processing buttons, and adds those items to the File menu.
- Filter — Normally cleared. Setting this box activates the Filter button and adds a corresponding item to the File menu. See the "Adding a Filter-control Window" section in this chapter, for information about making use of this button.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |