From Xojo Documentation

Property (As Integer )
aWindow.Placement = newIntegerValue
IntegerValue = aWindow.Placement

Supported for all project types and targets.

The location where the Document window will be placed when it opens.


Placement can take on the following values:

Value Name Description
0 Default What the OS would normally do, which may often be the same as Stagger.
1 Parent Window Over the parent window if it opens another window.
2 Main Screen On the primary or main screen on a multi-screen setup.
3 Parent Window Screen On the same screen as the parent window in a multi-screen setup.
4 Stagger New windows open slightly offset to the top and left from previously opened windows.