DesktopWindow.Restore

From Xojo Documentation

Method

DesktopWindow.Restore()

New in 2021r3

Supported for all project types and targets.

Restores a minimized or maximized window to its previous size.