Page 1 of 1

Global objects ?

Posted: Tue Apr 14, 2015 10:16 am
by EricGermain
Is there a way to use global objects (or the equivalent) in IX Developer ? By global object i mean something that you can create and then use at multiple places. If a modification is made to the global object, it changes automatically everywhere it was used.

Example : i create a button, copy paste the button to use it at 50 places in different screens. When i change the color of the original button, it changes automatically at the 50 places it was used.

Is this possible ? Thanks !

Re: Global objects ?

Posted: Thu Apr 16, 2015 4:06 pm
by MarkTX
You can define a static class in a script module and do whatever you want by declaring static public methods and properties. The script module class will have access to the Globals namespace, so it can access tags, forms, etc.