How You Can Open Concurrent Frames: Openframe Statement
The openframe statement opens a second frame while keeping the calling frame active. Use the openframe statement when you want to create concurrent frames.
The frame that you open with an openframe statement is considered a child of the calling frame. OpenROAD automatically terminates the child frame when the parent frame terminates. For example, if the user closes the video_list frame, which calls the video_detail frame, OpenROAD also closes video_detail.
When you use the openframe statement, it is important to keep the active frames synchronized. When the frames are displaying shared data, you must ensure that any changes that the user makes in one frame are reflected in the other open frames. For example, if the user makes a change in a called frame, the called frame can send a user event to the calling frame to inform it of the change.
When you first open the frame with the openframe statement, you can send parameters as starting values for the new frame. After issuing the openframe statement, however, you must explicitly coordinate all subsequent communication between the frames. For more information about the process involved, see
Inter-Frame Communication Techniques (see
Inter-Frame Communication Techniques).