list box

william Gunnells <[email protected]> Wed, 10 Mar 2010 23:24:58 +0000
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
I know I'm butchering thel list component. Could someone provide an exmple
as you can see below I can print the list but not add it to List1
=name type=List
I though I understood: but evidently not.

 def on_initialize(self, event):
                l=[1,2,3]
                for i in l:
                        print i
                        self.components.List1.InsertItem(i)
                self.update()
                #self.components.List1.stringSelection(i)

Thank you

William Gunnells


* [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