Kbase P21735: Steps to write a sample SmartObject application.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/16/2008 |
|
Status: Unverified
GOAL:
Steps to write a sample SmartObject application.
FIX:
Follow these steps and refer to Progress AppBuilder Developer's Guide for further details.
- Build a SmartDataObject for an existing database. Save it.
- Build a SmartDataViewer for the same SmartDataObject. Save it.
- Create a new SmartWindow.
- Place your SmartObject in the SmartWindow.
- Place your SmartDataViewer in the SmartWindow and answer 'Add' to the two dialog boxes that appear. This will link the SmartDataObject to the SmartDataViewer.
- Add a SmartPanel of type Navigation and nswer 'Add' to the dialog box that appears. This will link the SmartPanel to the SmartDataObject.
- Add another SmartPanel, but this time of type Update and answer 'Add' to the two dialog boxes that appear .This will link the SmartPanel to the SmartDataViewer.
- Press F2 to start the SmartWindow.
This is a very basic program that allows you to navigate and update a table.