Progress
ADM 2 Reference
editInstanceProperties (smart.p)
Runs the dialog to get run-time property settings.
Parameters: NoneReturns: Nothing (procedure)Notes:
- Generally run by the AppBuilder in design mode to bring up the dialog procedure that has been defined in the object property include file as the ADM–PROPERTY–DLG preprocessor value. Normally there will be one such standard program per template, whose name is specified in the template. This dialog allows application designers to define values for SmartObject properties that are appropriate to assign when an instance of the object is created.
- You can create special InstanceProperty programs for specific types of SmartObjects (a particular SmartDataViewer with extra run-time Properties, for example). No assumptions are made about the structure or functionality of the dialog program except that it sets each of the modified Instance Properties by executing their set property functions. The existing Instance Property dialog procedures in the
src/adm2/support
directory can be used as models for building new ones or extending existing ones.- Application code could invoke this procedure (by adding a double-click trigger to a widget, for example), to allow the InstanceProperty dialog to be invoked at run time.
- This is the Version 9 (ADM2) equivalent of the edit–attribute–list procedure in Version 8.
- Generally run by the AppBuilder in design mode.
Examples:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |