Until now, just been using Xojo to develop a Web app. Now I'm working on a Desktop app on the Mac. I notice that when the built app's last window is closed, its icon still appears in the System Tray as expected. But when I click on that System Tray icon, its window fails to appear. I'm used to Mac apps reappearing when click on their icon after having closed their window previously.
When I think about it, it seems that Mac apps essentially get minimized when their window is closed (unlike Windows apps, which Quit when their window is closed). Is that what I have to code to make this app work like that?