Progress
Programming
Handbook


How Progress Allocates Frames

Progress automatically allocates frames to a selected group of blocks. In general, the following blocks receive default frames:

However, Progress does not always allocate a frame to these blocks. For example, if a block displays no widgets, Progress doesn’t allocate a frame. Progress recognizes when frames are needed and when they are not.

The Progress Compiler, in a top-to-bottom pass of a procedure, determines which frames to allocate. In Figure 19–2, there are three blocks. Block A and the procedure block both contain statements that display data, so Progress allocates a frame for each of those blocks. Block B does not display data, so Progress does not allocate a frame to it.

p-frm2.p

Figure 19–2: Frame Allocation

The allocated frames are all unnamed frames. An unnamed frame is a frame that Progress allocates by default, but that you do not explicitly name.


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