How to bind a keyevent to a Python Card window?

Alec Bennett <[email protected]> Mon, 3 Aug 2009 01:39:04 -0700
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
I'm trying to bind a key event to a Python card window. Something like:

self.Bind(wx.EVT_KEY_DOWN, self.onKey)

The "onKey" function should be triggered whenever a key is pressed when the
window has focus. The event isn't being caught though.

Wondering if anyone might have any tips?

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
Pythoncard-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pythoncard-users