Changing Instances in Script

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
Douglas50
Posts: 3
Joined: Wed Sep 25, 2013 1:53 pm

Changing Instances in Script

Post 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?

User avatar
Russ C.
Posts: 213
Joined: Thu Nov 16, 2017 3:32 pm
Contact:

Re: Changing Instances in Script

Post by Russ C. »

You can show specific instances like:

Code: Select all

Globals.Screen1.Instance.Show();
Best regards,

Russ
(801) 708-6690
Technical Support
Contact Us

Beijer Electronics AB
http://www.beijerelectronics.us

Post Reply