WxListBox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • LutherRevisited

    #1

    WxListBox

    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(sel f, -1, "", style=wx.TE_MUL TILINE)
    sizer_1.Add(sel f.text_ctrl_4, 6, wx.LEFT|wx.RIGH T|wx.EXPAND, 80)
    self.text_ctrl_ 4.AppendText(st r(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.
Working...