Creating Dynamic Frames
Overview
In OpenROAD you can develop a single frame that serves multiple purposes by changing the bias and modes of fields and frames created in OpenROAD Workbench. This information is presented in the beginning of this chapter. For example, you can code the frame to change in the following ways:
• Display data initially as read only, allowing changes to data only in specified circumstances
• Display different data to different users (for example, salary information available only to managers)
• Allow the user to specify at runtime the database tables and columns to display and manipulate
The first two operations can be accomplished by changing the bias of form fields and menu items. When several fields are affected, changing the frame's mode simplifies these operations. The third operation requires dynamically creating fields based on user specifications at runtime.
This chapter discusses how to create fields dynamically and how to access the data values of these fields. This chapter also describes the process of creating and modifying fields dynamically and the means for accessing the values of such fields. You will also learn how to create frames whose fields are added or deleted either at frame start-up or while the frame is running.