Window.Open
From Xojo Documentation
Event
The window is about to open but hasn’t been displayed yet. Controls also receive Open events. A window receives its Open event after all of the controls have received their Open events.
Notes
You should use the Open event instead of the Constructor for initialization.
After the window opens and becomes the active window, the Activate event is called.