Progress
AppBuilder
Developer’s Guide
Creating Alternate Layouts
Follow these steps to create an alternate layout:
- Choose Layout
Alternate Layout from the AppBuilder main menu. The Alternate Layout dialog box appears:
![]()
- Choose the New button. The New Layout Name dialog box appears:
![]()
- Type the name of the layout, then choose OK. The AppBuilder returns to the Alternate Layout dialog box.
- Activate the GUI-based radio button to create a graphical look for the design window. Activate the Character-based radio button to simulate a character design window.
- Type the run-time expression to test in the Expression panel, then choose OK.
Any valid Progress expression that resolves to a LOGICAL value is acceptable. However, if you use a character string within the expression, place the string in single quotes (’ ’) not double quotes (“ ”). If you need to use embedded quotation marks, “escape” the quotation marks with the tilde (~) character. This convention helps the AppBuilder to generate code that avoids compiler ambiguities.
When you enter an expression, you can optionally enter a comment that describes the alternate layout. The AppBuilder places this comment in the Runtime Properties and AppBuilder Settings section of the procedure file, where other developers can see it. Enter the comment by typing it in the Comment fill-in field in the Custom Layout dialog box.
You have finished creating the alternate layout. The AppBuilder redisplays your design window, with the name of the alternate layout in the title bar.
NOTE: The Alternate Layout dialog box allows you to add, delete, or modify only one alternate layout at a time.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |