Question:
With two windowed screens, how can I click on a button and open the screen in the frame where the button is?
Solution:
In the button’s script, use the following script (at Click event):
Dim FrameName
FrameName = Screen.Frame.Name
Application.GetFrame(FrameName).OpenScreen(“Screen1”), 0
FrameName = Screen.Frame.Name
Application.GetFrame(FrameName).OpenScreen(“Screen1”), 0
This will cause it to capture the name of the current frame and pass it as a parameter in GetFrame method.