From: Alex T. <al...@tw...> - 2005-06-03 11:17:37
|
kim...@ya... wrote: >Hello list, > >I am having touble with textfield objects in >Pythoncard - I am using the latest version downloaded >from www.pythoncard.org (ver 0.81?). > >I have a no-brainer application and when I run it, the >moment I hit a key when inside a textfield, I get an >exception in class point within _core.py, method >__getitem__. The code says: > > def __getitem__(self, index): > return self.Get()[index] > >and it's choking on indexing out-of-range. > >I've checked and the size of self.Get() is 2 and the >value of index is 2 and that's why it crashed. > >As I said, this is a no-brainer ap (just a textfield >and nothing else). What's wrong? > > > What's the platform ? Version of wxPython, and of Python ? Do the Pythoncard samples work OK ? How about the wxPython demos ? -- 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 |