Hello everyone! I write this post because I would like to receive your opinion.
I would like to know how I can correct this error:
.
Basically I neet to call a window inside a script, but I should do it even if it is closed.
Is there a way to open it and hide it from view during preview mode?
Thank you all!
What function are you using to actually open the window? If your windows are properly designated âmainâ windows, then system.nav.openWindow()
should re-focus an existing or open a new instance appropriately. That said, opening new window instances in the designer isnât the recommended way to test - the designer, even in runtime mode, doesnât do everything that a ârealâ client does perfectly - so I would recommend that you launch a separate client and test within that.
2 Likes
At the moment I use âgetWindow = system.gui.getWindow(âWindowâ)â and then I insert the result obtained inside a JFrame.
This is a Power Table:
and this is what happens when you click on a row:
.
In practice I open a window (inside the JFrame) which contains a table; in this way I got a result similar to the famous SubView Row property.
The problem is that I canât open the SubView if the window itself isnât open!