From: william G. <gun...@gm...> - 2010-03-12 02:44:52
|
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 * gun...@gm... * co...@qi... |