RE: Question about EVT_CHAR/EVT_KEY_DOWN handler

Anders Munch <[email protected]> Tue, 11 Mar 2025 15:36:14 +0000
Newsgroups gmane.comp.python.wxpython
Message-ID <VI1PR05MB10680DEF1D50A58C94FE3C762B4D12@VI1PR05MB10680.eurprd05.prod.outlook.com>
raf wrote:
> [various confusing key binding behaviours]

Two things to look out for: 
 - Call event.Skip() for the keys that you don't want to take over.
 - Put the controls on a wx.Panel, and not directly on the wx.Frame.

I can't explain the strange behaviour, but these are the first things to check.

regards,
Anders

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/wxpython-users/VI1PR05MB10680DEF1D50A58C94FE3C762B4D12%40VI1PR05MB10680.eurprd05.prod.outlook.com.