Page 1 of 1

Menu shortcut char greyed out

Posted: Mon Jul 21, 2025 9:57 pm
by WilliamL
I just noticed that all my menu short cut characters are greyed out. They still work but all are greyed out. I ran this example from Help and had the same result. Am I doing something wrong or is this a bug (new feature)?

Code: Select all

If OpenWindow(0, 200, 200, 200, 100, "MenuItem Example")
    If CreateMenu(0, WindowID(0))
      MenuTitle("Project")
        MenuItem(1, "Open"+Chr(9)+"O")    ; I get a grey 'O'
        MenuItem(2, "&Save")   ; I just get 'Save' (no underline or arrow)
        MenuItem(3, "Quit"+Chr(9)+"Esc")   ; I get 'Quit E' with the E greyed
    EndIf
    Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
  EndIf

Re: Menu shortcut char greyed out

Posted: Mon Jul 21, 2025 10:57 pm
by mk-soft
Looks the same with other programs ... Is normal

Re: Menu shortcut char greyed out

Posted: Tue Jul 22, 2025 1:17 pm
by Piero
Well, in sequoia (dark/light mode) it seems normal, but a Mac app with menus having "E" and "O" as """shortcuts""" deserves at least this treatment

Re: Menu shortcut char greyed out

Posted: Tue Jul 22, 2025 5:28 pm
by WilliamL
mk-soft,

Yeah, I see your point. Safari has greyed out 'short cuts' too. I guess I just had a 'moment'.

Thanks for the response.