Binding property from another window

Hi there,
Is there a way that I can bind a property from an object located in another window?
I know I can bind properties from objects within the same root container, but Is it possible that I can take a property from an object located on another root container (window)



No, you can’t bind across them, however, you can access them in scripting. You can use system.gui.getWindow(…) to get the window, and then “.rootContainer” to get the root container. From there, it’s pretty much the same as working inside of the window.

For example, to get the value of a text box on a different window, you could do:


As the documentation for that code says, an error will be thrown if the other window isn’t open.


Thanks for your response, I would have to look a bit more deeply into scripting to check this out