Application.Deactivate

From Xojo Documentation

Event


Application.Deactivate()

Supported for all project types and targets.

The application is being deactivated.

Notes

For example, this occurs when the user clicks on a window belonging to another application. When the user clicks on your application window again, the Activate event fires.