Global objects ?

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
EricGermain
Posts: 1
Joined: Tue Apr 14, 2015 10:07 am

Global objects ?

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

MarkTX
Posts: 9
Joined: Fri Dec 30, 2011 11:03 am

Re: Global objects ?

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

Post Reply