DesktopWindow.Hide

From Xojo Documentation

Method

DesktopWindow.Hide()

New in 2021r3

Supported for all project types and targets.

Makes the window invisible.