Window.ImplicitInstance

From Xojo Documentation

Design Property (as Boolean)
This Window property can only be set in the Inspector and is not available in code.

If True, an instance of the window can be instantiated implicitly. Set ImplicitInstance in the Properties pane in the IDE.

Notes

For example, an implicit instance is instantiated by referring to one of its properties or by calling its Show method. That is, a statement such as:

Window2.Show

or

Window2.ShowModal

will instantiate the window only if ImplicitInstance is True. The default is True. If False, you need to instantiate it explicitly via the New operator. That is, only a statement such as:

w = New Window2

will instantiate the window.

If ImplicitInstance is False, statements such as:

Window2.Show

and references to any window or control properties will produce an error.

See Also

Window