WxListBox

Discussion in 'Python' started by LutherRevisited, Dec 26, 2004.

  1. 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.
    LutherRevisited, Dec 26, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. LutherRevisited

    WxListBox

    LutherRevisited, Dec 26, 2004, in forum: Python
    Replies:
    4
    Views:
    885
    LutherRevisited
    Dec 28, 2004
  2. ishtar
    Replies:
    1
    Views:
    275
    isthar
    Nov 21, 2005
Loading...

Share This Page