#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2004
    Posts
    1
    Rep Power
    0

    Newbie- scrolling data?


    How do you make a scrollable text box?

    I have a db that I can convert into xml, cvs or access and it has 5,000 entries. I want to be able to scroll through them with the up and down keys and for each one I have 5 different images that I want to display at teh same time. So when you hit the down arrow it would go from item 1 to item 2 and the images would all change from item1.jpg to item2.jpg and hitting the up arrow would go back to item 1 again.

    What would be the best way to do this?
  2. #2
  3. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    14
    Which GUI did you want to use?

    If you are using Tkinter then:
    A scrollable textbox that displays some text
    import ScrolledText
    If it is actually a list of items then you can use the Listbox which funnily enough has lots of list mangement methods and sounds more like what you need.

IMN logo majestic logo threadwatch logo seochat tools logo