Dizzi opened this issue on Nov 25, 2009 · 5 posts
Dizzi posted Wed, 25 November 2009 at 3:32 PM
Quote - I can't see anything to suggest that you can't Bind key events to a panel, but the problem I supsect you'll run into is one of the Panel having focus (aspects of the Poser GUI may exacerbate this) or making sure controls within the panel pass unhandled key events up the chain.
Yes, you're right, I shouldn't have tested that late at night, it works, if the panel is selected. Thanks :-)
I also found a way to stop Poser reacting to the pressed key:
Bind components of Panel to EVT_KEY_DOWN
and have the event handler do event.SetUnicodeKey(0)... I'm not sure if that's safe to do, but it works at the moment ;-) (maybe it stops when I try that again tomorrow ;-))