Progress
Programming
Handbook


Default Frames

Progress allocates default frames when you display field-level widgets without naming a frame. For example, in Figure 19–2, this statement appears in the procedure block.

DISPLAY "Daily Report". 

This statement displays a text string, but does not name a frame. Progress therefore allocates a default unnamed frame, using it to display the text string “Daily Report”. You can replace the above statement with the statement shown below.

DISPLAY "Daily Report" WITH FRAME a. 

This statement explicitly names a frame (frame a), causing Progress to allocate that frame instead of a default frame. A default frame is not necessary, because no other statements in the procedure block display data (frame a displays the text string “Daily Report”). Progress allocates a default frame only for field-level widgets that are not explicitly placed in another frame.


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