DesktopWindow.DefaultLocation

From Xojo Documentation

aDesktopWindow.DefaultLocation = newDesktopWindow.LocationsValue
or
DesktopWindow.LocationsValue = aDesktopWindow.DefaultLocation

New in 2021r3

Supported for all project types and targets.

If it's a Document window, this property represents the window's location at which the window will initially be placed when it opens.

Notes

The DesktopWindow.Locations enumeration contains all potential values for this property.