Here’s the problem. Compile a simple app with 1 window, then add an entry to Startup Items and click the hide checkbox. I want the app to run at login and be hidden. This works in Mojave but NOT in Big Sur. I tried this with Big Sur’s Textedit and it works properly. Does anyone know of a work around for Big Sur? Currently, I don’t use the hide feature in Startup Items as I have to manually choose File Hide App to let it run but hidden from view. I’m running the current version of Xojo on a Macbook Pro 2014.
How about deselecting the default window and in app.activate, check to see if there’s a window and create one if there’s not.