Progress
Portability Guide
Frame Widget Portability
Frames and dialog boxes are container widgets. Frames allow you to organize data, action, and graphic widgets. You cannot place widgets in a window unless they are first contained in a frame widget. If you do not specify a frame, Progress uses the default frame.
The dialog box is another window that overlays the main window. The dialog box blocks the user from working with the main interface until the user explicitly dismisses the dialog box. Like a frame, a dialog box contains data, action, and graphic widgets.
At compile time, you can use the preprocessor to adjust the position and size of user interface objects, or use the DEFINE FRAME or FORM statements to describe the layout and processing properties of a certain frame.
The DEFINE FRAME statement defines the layout of a frame for use within a single procedure or within several procedures. The DEFINE FRAME statement does not scope the frame. When using the DEFINE FRAME statement, you can adjust the position and size of user interface objects at run time. When you use the FORM statement, if the frame has not been previously scoped, the FORM statement scopes it to the current block. You can create different versions of the FORM statement and DEFINE FRAME statement for use on different platforms.
See the DEFINE FRAME Statement and FORM Statement reference entries in the Progress Language Reference.
At run time, you can adjust the position and size of user interface objects by modifying their geometric attributes. If you do this, use the HIDDEN attribute on the window or frame so that the changes do not cause flashing.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |