Progress
Portability Guide
Absolute Layout
Absolute layout defines explicit locations for widgets. The AppBuilder generates code that uses absolute layout.
Absolute positioning ensures that the dimensions of objects are consistent on each platform; however, the decoration of each object differs.
To perform absolute positioning of field-level widgets, you can use the AT phrase with row and column specifications; however, use row and column specifications for portability. The following example demonstrates row and column specifications with the AT phrase, which is portable across graphical displays:
You can also specify the LEFT-ALIGNED, RIGHT-ALIGNED, or COLON-ALIGNED options with the AT phrase. These options specify whether to align the left edge of the field, right edge of the field, or the colon of the field label with the specified position. The syntax of the AT phrase is as follows:
Table 3–4 lists the specifications you can use with the AT phrase.
The following example demonstrates the COLON-ALIGNED and RIGHT-ALIGNED specifications:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |