Thread: Creating a multi-column listbox?

  1. #1
    Some Guy
    Join Date
    Jul 2004
    Posts
    32

    Creating a multi-column listbox?

    I would like to create a multi-column listbox that looks something like this... http://www.summware.com/Images/ListBox.jpg except it will have five columns with the ability to click on them to sort the entire listbox by that column (sort of like Windows Explorer in detailed mode). Can someone give me a few tips or point me in the right direction. Thanks, appreciate it.

  2. #2
    Registered User
    Join Date
    Jan 2006
    Posts
    8
    First are you using .net 1.x or 2.x?

    if your using 2.x then instead of the listbox you should use the DataGridView control.

    if your using 1.x I belive you might be able to use the dataGrid control

  3. #3
    The N00b That Owns You!
    Join Date
    Jul 2005
    Location
    Canada!
    Posts
    178
    in the windows form designer click tools -> tolol, box and click listbox and drag it on to your program then loook at the code ot see how its made
    you can also add colums in th eform designer its all there.
    New Function!!!!

    glAddIdol(C+noob);

    The feeling of rusty spoons against my salad fingers is almost ORGASMIC

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Profiler Valgrind
    By afflictedd2 in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2008, 09:38 AM
  2. Retrieving Multiple inputs with fgets?
    By Axel in forum C Programming
    Replies: 25
    Last Post: 09-13-2005, 04:04 PM
  3. pointers
    By InvariantLoop in forum C Programming
    Replies: 13
    Last Post: 02-04-2005, 09:32 AM
  4. Multi column Listbox
    By Gravedigga in forum Windows Programming
    Replies: 1
    Last Post: 10-12-2003, 12:20 PM
  5. Listbox multi collum
    By (TNT) in forum Windows Programming
    Replies: 2
    Last Post: 01-02-2002, 08:06 AM