3. Programming Frames : How You Can Invoke Frames : Differences Among the Frame-invoking Statements : How You Can Communicate Between Open Frames
 
Share this page                  
How You Can Communicate Between Open Frames
Because the calling frame remains open when a called frame is executed by an openframe statement, it is important that the calling frame be able to communicate with the child frame. Consequently, the openframe statement returns a reference variable of type FrameExec to the calling frame. For the calling frame to use this value, you must capture the FrameExec object of the child frame in a variable. The syntax is:
[FrameExec_var =] openframe framename ([parameterlist])
The calling frame can also use the returned FrameExec object with the SendUserEvent method to communicate with the child frame. For more information, see Inter-Frame Communication Techniques (see Inter-Frame Communication Techniques).