Kbase P51186: What is the difference between StaticViewer and DynViewer?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  30/10/2003 |
|
Status: Unverified
GOAL:
What is the difference between StaticViewer and DynViewer?
FACT(s) (Environment):
Dynamics
FIX:
The framework explicitly supports both static and dynamic Viewers. In principle, these can have essentially the same capabilities, but how they are created is, at this point, significantly different.
- The Object Generator creates a dynamic Viewer for each table you select.
- You can create static Viewers in the AppBuilder just as you would in standard Version 9 Progress, by selecting New ->¨Static SmartDataViewer and following the steps in the Wizard. In addition to creating the Viewer procedure, the AppBuilder also registers the Viewer in the Dynamics Repository, so that it can be used in the assembly of dynamic Windows.
- A dynamic Viewer can also have a custom super procedure, when you need to write 4GL code to specialize the Viewer·s behavior. The code in the custom super procedure can respond to both programmatic events in the object (such as initialization) and User Interface events (such as Leave of a field).
- For Viewers that need a high degree of specialization, a static Viewer is easier to build and maintain.