DesktopApplication.Activated
From Xojo Documentation
Event
The app is being activated.
Notes
When the app is launched, the Opening event is called prior to Activated.
The app is being activated.
When the app is launched, the Opening event is called prior to Activated.