FileMenu missing

My program works well on Windows 10 with Xojo 2014, while with Xojo 2016r2 the File menu has disappeared …
On Mac with Xojo 2016r2, it is still there.
What can happen?
Thank you

I found a solution to recover the File Menu : instead of FileNew.Close, I do : FileNew.Enabled = false
(FileNew is the first menu item of FileMenu)

Curious, right?


MenuItem.Close ( ) Removes dynamically created menu items.

FileMenu and FileNew are not dynamically created, but existing in the Menu Bar
FileNew is the first MenuItem in the menu FileMenu

This was working since RB 2011, on Mac and Win
But on Windows 10 with Xojo 2016r2, FileMenu not here anymore !

You could try creating another menubar and set app.Menu to it.