list box

william Gunnells <[email protected]> Fri, 12 Mar 2010 02:44:45 +0000
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
I tried with append and got the following error:

Traceback (most recent call last):
 File "/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/_core.py",
line 13535, in <lambda>
   lambda event: event.callable(*event.args, **event.kw) )
 File "horsewx.py", line 16, in on_initialize
   self.components.List1.append(i)
 File "/usr/lib/pymodules/python2.5/PythonCard/components/list.py",
line 100, in append
   self.Append(aString)
 File "/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/_core.py",
line 11156, in Append
   return _core_.ItemContainer_Append(*args, **kwargs)
TypeError: String or Unicode type required
*************************************************************************
oh and this does not work either: self.components.List1.items = l



Thank you

William Gunnells
450 W. 7th Street
Suite # 303
Tulsa, OK 74119
* 918-830-7300
* cell 918-615-2397
* [email protected]
* [email protected]

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev