I’m not sure what happened, but the event EnableMenuItems doesn’t fire.
I still have things not greyed out like Preferences, but they don’t fire.
I do have one control on a window that has an OpenFileDialog, and then the EnableMenuItems does fire.
What could I have done?
Also, I tried putting this
Application.RefreshMenuBar
in that window (MainList) in the open, but I got this error.
MainList.Open, line 23
Static reference to instance method: call this on an instance of class Application.
Application.RefreshMenuBar
What version ?
What OS ?
Application.RefreshMenuBar
should probably be
App.RefreshMenuBar
Mac. Current on everything including XOJO except high Sierra (not Mojave)
It also doesn’t complete the open event on the window. Just diScovered this.
Current also means most of the degradations
app.refreshmenubar didn’t do it. Grumble.
check your menu bar and make sure the items you expect to be enabled are set to autoenable
check your app class, window layout. and where ever else you have menu handlers and make sure those name match the menu bar item names