From: Alex T. <al...@tw...> - 2005-06-03 21:47:24
|
John Henry wrote: <snip - thanks> >"How about the wxPython demos ?" > >I don't see any demo ap in the wxPython directory. > > > Sorry, I forgot - the wxPython demos and docs are now a separate download .... worth getting to see what else is in there. But not needed, since the Pythoncard samples work OK. >I am beginning to wonder if it has to do with the >keyPress event I am trying. This is what I am doing: > >#********* > def on_tfStudy_keyPress(self, event): > keyCode = event.keyCode > if keyCode==13 : > ...some processing code... > else: > event.skip() >#********* > >Without this event, the program doesn't crash. > > Sounds like that's the culprit; dig in with your usual debugging techniques to see where it is. If you want more help - just holler. Liam's request for the whole traceback is also a good idea if you want to send that - but I think you now have it narrowed down to something in the "...some processing code ..." -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.5.2 - Release Date: 03/06/2005 |