Progress
Programming
Handbook


Static Versus Dynamic Widgets

Most widgets are either static or dynamic. Static widgets are defined when a procedure is compiled. They are created when the procedure is invoked and remain available until the procedure terminates or for the scope of their definition, whichever is longer. Dynamic widgets can be created and deleted during execution of a procedure and are globally scoped. (Scope is the duration that an object is available to the application.)

NOTE: All windows, except the static default window created by Progress, are dynamic. For more information on creating dynamic Windows, see "Windows," and the "Dynamic Widgets" section in this chapter. Alert boxes and field groups are neither static nor dynamic but are created automatically by Progress. Progress creates an alert box for a window when you invoke the MESSAGE statement with the VIEW–AS ALERT–BOX option. For more information on using alert boxes, see Interface Design." Progress automatically creates field groups when you create and use a frame or dialog box. For more information on working with field groups, see Frames."


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095