DesktopApplication.NewDocument

From Xojo Documentation

Method

DesktopApplication.NewDocument()

New in 2021r3

Supported for all project types and targets.

Calls the DocumentCreated event handler.