Hotkey question

Skip to first unread message

Andre F

Dec 31, 2022, 3:54:13 AM12/31/22

Is it possible to make it so a hotkey will only work in a specific simplebook panel?

Right now my hotkeys are working, but I noticed they work even when I don't want them to work.


Gunter Königsmann

Dec 31, 2022, 4:47:37 AM12/31/22
to, Andre F
Hotkeys are hotkeys: They Work in the whole application, in my experience at least If the Key Event that Gets informed about the journey press issues a event.Skip().

What you can do, though, is to catch the wxKeyEvent in your book and handle the hotkey by hand.

Be aware,though, if you are working on a multilingual application that the excellent hotkey in one keyboard might be the way to enter a backslash or a unit mu on the other => hotkeys need to be translated along with the rest of the application which is why the "\t hotkey" mechanism is this great.

Kind regards,

Reply all
Reply to author
0 new messages