That sounds perfect. Just be warned if you ever do want to add any sort of text input field, global floating windows can be tricky with focus. As long as you’re only displaying info, the global floating window should work well. If that changes, I recommend you change it to a regular floating window if/when you need user input controls and use the bring app to front declare.
I’m trying to create a simple MenuBar app and can’t seem to do it.
Even resorted to ChatGPT to try to help me out, but after several attempts, I still can’t manage to do it.
Where is the info about doing it using Declares?
this example from Carlo still works with today’s xojo
(did not test it with sandboxing …)
3 Likes
It should, since my apps using it are on the AppleStore so they are sandboxed.
and can run on last Tahoe (26.0.1) / M1…
Glad to know. Thanks
Yes, and I think this it is only correct way doing so. Changing the plist is not allowed when applying for the AppStore.