2. Structuring an Application : How You Can Change Global Constants at Runtime : Controlling the Flow of Frames : How Multiple Use Frames Work
 
Share this page                  
How Multiple Use Frames Work
The multiple use frame structure uses a single frame to step the user through related tasks. Wizards are examples of multiple use frames. For example, if you have dozens of fields for user input and they all pertain to the same data, instead of cluttering a single frame with many fields or stepping the user through a series of frames, you can dynamically change a single frame to display many fields.
To display many fields, you can employ the following techniques:
Make use of the full size of an OpenROAD form, incorporating the entire form into a viewport field.
If a table field is wider than the frame window, a viewport provides access to all of the table field data using a horizontal scroll bar. As end users complete the last field in one part of the form, they can scroll to the next.
Put all fields in the same segment of the form, but make one group of fields invisible while others are visible.
As the end user completes the last of the visible fields, the mode of the frame changes, switching the field visibility. You can also allow end users to page back and forth among the displays.
For more information about viewports and other fields, see Creating and Using Basic Fields (see Creating and Using Basic Fields).
Note:  You may incorporate all of these structures in more sophisticated applications. For example, one of the frames selected from the control frame may step the user through a series of sequential frames; a sequential frame application might present the user with a frame that provides access to several other frames.