You
can use SCL to access one frame from another frame. In fact, your
applications can consist of as many frames as you like. For example,
the following SCL statement in the frame SCL for Frame1, runs the
frame named Frame2 from the current catalog:
call display('Frame2.frame');
The
SCL code for Frame1 transfers control to Frame2 and then waits for
Frame2 to close. While Frame2 is open, the controls on Frame1 are
not accessible. When Frame2 is closed, control returns to the Frame1
SCL, and continues execution, starting with the first statement following
the CALL DISPLAY.
For example, assume
that a frame contains a Push Button control named Rates. When a user
clicks the
Rates button, a frame named loanRates
is opened that displays rate tables. The frame SCL for the Rates button
would look something like this:
RATES:
call display('loanRates.frame');
return;