2. Structuring an Application : How You Can Change Global Constants at Runtime : How the Application's Starting Frame Is Opened
 
Share this page                  
How the Application's Starting Frame Is Opened
To enable the end user to start interacting with an application, the application must display a frame. Therefore, OpenROAD automatically opens the application's starting frame when the user starts the application. (If you specify a starting procedure for the application instead of a starting frame, you must use an OpenROAD statement in the starting procedure that opens the first frame.)
After the first frame is open and you want to open a second frame, you can use any of the following statements:
openframe statement
Leaves the first frame active after opening the second frame. This creates two active frames, both of which the end user can interact with.
callframe statement
Makes the first frame inactive after opening the second frame. This creates one inactive frame and one active frame, with the active frame blocking access to the inactive frame. End users cannot use the inactive frame until they close the active frame.
gotoframe statement
Closes the first frame when it opens the second frame
For more information about these statements, see the chapter "Programming Frames" in the Programming Guide.