Page 1 of 1

Changing Instances in Script

Posted: Fri Nov 08, 2013 8:14 pm
by Douglas50
Hi I am totally new to scripting, but I was wondering if it was possible to set an instance using a variable. i.e. this.InstanceName = "Instance1"; I have a screen that will display several popups with specific instances and I want to be able to save the last used instances for those screens into string variables that I can then write back when the main display screen is opened. I also want to be able to automatically reopen all of the pop up screens that contain those instances.

i.e. Pressure sensor 1 pop up can display 1 of 12 pressure sensors based on the instance of the popup selected. I want to be able to navigate from that main screen with the popup and return back to the main screen with the same popup and instance displayed as when I navigated from that screen.

Any ideas?

Re: Changing Instances in Script

Posted: Tue Jan 21, 2020 3:58 pm
by Russ C.
You can show specific instances like:

Code: Select all

Globals.Screen1.Instance.Show();