On Xojo 2021 r1.1, I have a window in a project I have been working on for years. Suddenly, on Mac, when this window is shown, the mac’s menu bar and dock disappear.
I checked the window’s inspector and MenuBar is set to none. I set it back to the correct menu.
But randomly, the Menu Bar setting in the inspector reverts back to None. I do not change it.
I have no code that changes it. It just does it on its own. It just won’t stick.
Anybody have any experience with this and a possible workaround?
I haven’t seen this myself, but as a workaround, what if you tried assigning the MenuBar to the Window at runtime, like in the Window Open event. Something like: