hi!
i’m doing some adjusts on a game i wrote on mac ide
on mac, i close and reopen (wdw.show) a window and, of course, the menu bar is there…
but on windows, when i close the window, and then “show” the window again, the menu has gone.
how to show it back again?
thank you!!
Have you chosen the menu in the window inspector, if so then the menu should automatically show.
Typically on windows the menu bar is at the top of each window, rather than the top of the screen. Often windows applications will automatically quit when you close the last window. That isn’t the issue is it?
yes. it’s selected
i did a test on a fresh project and worked. i need to investigate more.
Are you assigning a menu at runtime?
It is possible to assign a menubar to a window in the inspector, but it is also possible to do the same thing in code:
Var oWindow as New MyWindow
oWindow.Menubar = MyMenuBar
// or
oWindow.Menubar = Nil
ah… ok. no, I’m doing on inspector.
I tried doing by code (after close and reopen the window).
didn’t work.