Re: help Keyboard and Tk

[email protected] (Christopher Chavez) Mon, 8 Nov 2021 13:01:43 +0100
Newsgroups perl.tcltk
Message-ID <trinity-73fb8b2d-89da-434f-b6a4-a9d43ed7b7ec-1636372903548@3c-app-mailcom-bs16>
> All key good, but I have a problem with the key f10=2E
>
> I can see F10 in the consol, no problem=2E
> But in windows 10, f10 open the menu=2E


For a very long time, it has been conventional behavior for many programs =
on Windows (not just Tk) for F10 to =E2=80=9Cactivate=E2=80=9D the menu=2E =
Tk having this binding by default on Windows is likely for intentionally co=
nforming to platform convention, so that Windows users find that pressing F=
10 behaves as they may expect it to=2E

Maybe someone else has a better answer about how to actually override this=
 binding if desired, but I personally would avoid trying to bind to F10 on =
Windows=2E

Christopher A=2E Chavez