How can I respond to a click event to xojo app icon in the Apple dock?
Can you provide a bit more information? A click event in the dock means start the app. The contextual click is handled by Finder. What is your ultimate goal?
if the app is running, you get an app.Activated event as app comes to front.
It’s a single window app that I would like to hide the window when I close it, then show it again when I click the App icon again as long as the app is still active.