WxListBox

L

LutherRevisited

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top