I wander if it is possible to run a method from a FormInWindow or dialog that affects only the main window.
In my method I try to switch to the main window first, but without success because the context of the main window is null.
Does anybody know the trick?