Quick question about treectrl

Nathan smith <[email protected]> Sat, 26 Feb 2022 00:26:19 +0000
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
Hi there,


I've bound a wx.EVT_KEY_DOWN event to a treectrl with the specific 
purpose of implementing some alt left, alt up and alt down keystrokes.

I've put returns in place to stop the code getting to the event.Skip() 
line that is in place for anything that is not alt down, left and up but 
my code is not quite working.


Alt down jumps to the item I want it to, but then it jumps forward one 
more (presumably because of the down arrow). What should I be blocking 
there to prevent this from happening?


Nathan


-- 
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 on the web visit https://groups.google.com/d/msgid/wxpython-users/a16324a3-7db2-3384-808c-ce9dcd53177d%40gmail.com.