Progress
AppBuilder
Developer’s Guide
Run-time Properties and AppBuilder Settings
For each alternate layout, the AppBuilder places an IF statement in the Run-time Properties and AppBuilder Settings code section. This IF statement checks to see whether the layout’s run-time expression evaluates to TRUE. If so, this statement runs the layout case’s internal procedure, passing to it the name of the layout as an input parameter.
For example, the multi-layout run-time adjustments code appears as follows:
If the expression SESSION:WINDOW–SYSTEM = ’MS–WINDOWS’:U evaluates to TRUE, this IF statement passes the input parameter ’Standard MS Windows’ to the layout cases internal procedure. For SmartObjects, the DefaultLayout property is set. This is used to run the appropriate layout case later, when the SmartObject is initialized.
Thus, for SmartObjects, the multi-layout run-time adjustments code appears as follows:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |