Application.Activate
From Xojo Documentation
Event
The app is being activated.
Notes
When the app is launched, the Open event is called prior to Activate.
The app is being activated.
When the app is launched, the Open event is called prior to Activate.