Is there a function telling if an element belongs to a window (or a layout or layout-cell) or not?
For example, I have a window, with a Layout attached to, and I load a form into the first cell of the layout using the “attachObject” function. How can I know if the form belongs to this window?
unfortunately, there is no such a method.
After calling attachObject method you can mark the element. For example:
obj._isInWindow = true;