Window.Placement
From Xojo Documentation
This item was deprecated in version 2019r2. Please use Window.DefaultLocation as a replacement. |
Property (As Integer )
aWindow.Placement = newIntegerValue
or
IntegerValue = aWindow.Placement
Supported for all project types and targets.
or
IntegerValue = aWindow.Placement
Supported for all project types and targets.
The location where the Document window will be placed when it opens.
Notes
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. |