Progress
ADM 2 Guide
SmartToolbar Instance Property Dialog Box
Figure 2–12 shows the instance property dialog box for a SmartToolbar.
Figure 2–12: SmartToolbar Instance Properties Dialog Box
![]()
The instance properties in this dialog box are grouped into two panes containing style properties and content properties. Figure 2–12 shows the default properties; the available properties might change if you add or remove actions from the SmartToolbar or the action class (on which the SmartToolbar is based). You use these instance properties as described in the following sections.
Style Pane
You use the instance properties in the Style pane to specify how your SmartToolbar instance provides access to toolbar actions. You can specify a menu bar, a toolbar, or a menu bar and a toolbar. You cannot deselect both the menu bar and the toolbar.
- Menu—If checked (the default), specifies that the SmartToolbar instance provides a menu bar with the two menus (File and Navigation) shown in Figure 2–13.
Figure 2–13: SmartToolbar Menus
![]()
Figure 2–13 shows how the menus look when all possible commands are enabled. Various commands are present or absent from the menu bar depending on how you set the instance properties in the Contents pane at design time.
- Toolbar—If checked (the default), specifies that the SmartToolbar instance provides a toolbar, shown in Figure 2–14.
Figure 2–14: SmartToolbar Toolbar
![]()
Figure 2–14 shows how the toolbar looks when all possible icons are displayed. Various icons are present or absent depending on how you set the instance properties in the Contents pane at design time.
- Show Border—If checked, adds a graphic border that surrounds the toolbar and divides the icon groups. This property is enabled only if the Toolbar property is checked.
Contents Pane
You use the instance properties in the Contents pane to specify the actions that application users can perform from the SmartToolbar. Each property represents several actions (as defined defined by the action class):
- Navigation—If checked (the default), enables navigation actions: first record, previous record, next record, and last record. These actions are accessible from the First, Prev, Next, and Last commands on the Navigation menu and from the third group of icons (the arrow icons) on the toolbar.
- Tableio—If checked (the default), enables tableio actions: add, update, copy, delete, and save records; reset; and cancel. These actions are accessible from the Add record, Update record, Copy record, Delete record, Save record, Reset, and Cancel commands on the File menu and the first group of icons on the toolbar.
The Save and Update radio buttons associated with the Tableio check box enable slightly different sets of tableio actions:
NOTE: This property is enabled only if you link the SmartToolbar as a Commit–Source to a Commit–Target.- Commit—If checked, enables commit actions for updateable objects: undo and commit. These actions are accessible from the Undo and Commit commands on the File menu and from the second group of icons on the toolbar. The default is unchecked.
- Filter—If checked, enables calling a SmartFilter that is the SmartToolbar’s Navigation–Target. This functionality is available through the Filter command on the File menu and the last icon on the toolbar. For details, see the "Filter Link as Pass-through Link" section.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |