From: <kim...@ya...> - 2005-06-03 01:55:15
|
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? Thanks, -- John |