Window.Restore method

From Xojo Documentation

Method

Window.Restore()

Supported for all project types and targets.

Restores a minimized or maximized window to its previous size.