Release 10.1A: OpenEdge Development:
ADM and SmartObjects

> ## SmartPanels

> SmartPanels are ADM panel-class SmartObjects that group a number of functionally related buttons onto a frame. The ADM provides separate SmartPanel masters that support specific types of record-management activities, as follows:

> - Navigation SmartPanel masters support navigating records. There are two Navigation SmartPanel masters: an Icon SmartPanel master that contains buttons using icons to indicate the navigation direction and a Labels SmartPanel master that uses text labels instead of icons. You link instances created from these masters to one or more SmartDataObjects with Navigation SmartLinks.

> - The Update SmartPanel master supports modifications to database records. It runs in either save or update mode. You link an instance created from this master to one or more updateable objects, such as SmartDataViewers or SmartDataBrowsers, with TableIO SmartLinks.

> - The Commit SmartPanel master supports committing multiple updates to database records in a single transaction. You link an instance created from this master to one or more SmartDataObjects with Commit SmartLinks.

> For more information about using SmartPanels to manage records in the ADM, see Chapter 4, " Data Management in the ADM."

> Table 2–9 lists SmartPanel files.

> Table 2–9: SmartPanel files
> File type | Filename / SmartLinks
> --- | ---
> Master files (Because SmartPanels are customized at design time, a template is not necessary.) | `src/adm2/pnavico.w` (source code for Navigation with Icons master) `gui/adm2/pnavico.r` (compiled code for Navigation with Icons master) `src/adm2/pnavlbl.w` (source code for Navigation with Labels master) `gui/adm2/pnavlbl.r` (compiled code for Navigation with Labels master) `src/adm2/pupdsav.w` (source code for Update master) `gui/adm2/pupdsav.r` (compiled code for Update master) `src/adm2/pcommit.w` (source code for Commit master) `gui/adm2/pcommit.r` (compiled code for Commit master)
> Primary include file |
>     src/adm2/panel.i
> ADM/Progress Advisor- supported SmartLinks | Commit-Source (`pcommit.w`) Navigation-Source (`pnavico.w` and `pnavlbl.w`) TableIO-Source (`pupdsav.w`)
> Instance properties dialog boxes | `src/adm2/support/n-paneld.w` (source code for Navigation with Icons and Navigation with Labels panels) `gui/adm2/support/n-paneld.r` (compiled code for Navigation with Icons and Navigation with Labels panels) `src/adm2/support/u-paneld.w` (source code for Update panel) `gui/adm2/support/u-paneld.r` (compiled code for Update panel)

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095