WxListBox

LutherRevisited lutherrevisited at aol.com
Sat Dec 25 21:12:27 EST 2004


wxpython.org's onlinedocs are down right now so bear with me.  Here's my
problem, currently I'm using a wxtextctrl to enter output in, I'm running out
of rows with the wxtextctrl so I thought to use a listbox like I would in
another language.  I'm unsure how it is constructed or how to add items to it. 
Here is what I've done with the textctrl, I'm wanting to do something like this
in the listbox:

self.text_ctrl_4 = wx.TextCtrl(self, -1, "", style=wx.TE_MULTILINE)
sizer_1.Add(self.text_ctrl_4, 6, wx.LEFT|wx.RIGHT|wx.EXPAND, 80)
self.text_ctrl_4.AppendText(str(count) + '\t\t' + str(address) + '\t\t'
            + str(pageNumber) + '\t\t' + str(pageArray[pageNumber, 1]) +'\r\n')

That's the jist of what I"m doing which works fine, other than me running out
of room on the textctrl.



More information about the Python-list mailing list