Progress
Programming
Handbook


Types of Frames

In addition to controlling which frames Progress allocates, you can also control the type of frames that Progress allocates. There are two types of frame: down and one-down. A down frame displays multiple iterations of data. A one-down frame displays single iterations of data.

Static frames can be down or one-down. Dynamic frames can be one-down only.

p-frm6.p

Figure 19–4: Types of Frames

Progress allocates four frames to the procedure in Figure 19–4. Three of the frames are one-down; the remaining frame is a down frame. The Progress compiler examines each block in the procedure and tests the following conditions to determine what type of frame to allocate to each block.

  1. Is the block an iterating block?
  2. Is the default frame for the block scoped to the block?
  3. Does the block contain a nested block that has a frame scoped to it?

To determine the types of frames that the Progress Compiler allocates, see Table 19–1.

Table 19–1: Determining Frame Type 


Is the Block
an Iterating Block?

Is the Default Frame Scoped
to the
Block?
Does the Block Contain a Nested Block with a Frame Scoped to It?



Frame
Type
Yes
Yes
No
Down
All other combinations
One-down


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