Avoid duplicate content by using xtypes or variables from other files
I am building a program in wich i have several panels. In each panel i want to use at some point the same content using xtypes for exemple or simply variables from other files. The issue i am experiencing is when i first trigger an action that calls one object on one panel, it works, but when i change panel i am having layout issues. Can someone tell me how to prevent that?
I've tried this way but when i call the variable in one panel (the first one), everything is fine, but in another panel it seems not to exists. But also, when i only call it in the second panel it seems to work fine. Is there an option or a method to say "unload from memory" or whatever i can use to "reload" the content in each panel i will be calling it?
By the way, no layout issues anymore.