Results 1 to 14 of 14

Thread: List Boxes

  1. #1

    Thread Starter
    Member andrew5578's Avatar
    Join Date
    Dec 2003
    Posts
    51

    List Boxes

    If i have a list box that has people's names in it, and i want it to display the sex of the person in the same listbox, but i want all of the male and female's to be in an ordered column, how do i do it? I tried it by adding Chr(9) a couple times, but if the name was long it pushed the gender to the right. Is there a way for me to have it displayed in 2 columns in one listbox in an orderly manner? If anyone knows how to do this in vb 5 and vb.net that would be great!!
    aka Ender

  2. #2

  3. #3

    Thread Starter
    Member andrew5578's Avatar
    Join Date
    Dec 2003
    Posts
    51

    ListView?

    Does anyone know what a listview does, and how i can make it display things in 2 straight columns?
    aka Ender

  4. #4

  5. #5
    Hyperactive Member
    Join Date
    Mar 2003
    Location
    Greece, Salonica
    Posts
    473
    Hmmm...Thanks Martin...This might be needed in the future

  6. #6

  7. #7

    Thread Starter
    Member andrew5578's Avatar
    Join Date
    Dec 2003
    Posts
    51
    Thanks martin, ill try it now, on my program. Btw, the other person you quoted wasnt me, i was the person who had the problem, and i am gonna try what u did. Thanks!
    aka Ender

  8. #8

    Thread Starter
    Member andrew5578's Avatar
    Join Date
    Dec 2003
    Posts
    51
    Does anyone know how to do this in Vb.Net? I am having problems with converting the code to vb.net
    aka Ender

  9. #9

  10. #10

    Thread Starter
    Member andrew5578's Avatar
    Join Date
    Dec 2003
    Posts
    51
    thanks martin... sometimes im hesitant to post here as there aren't as many people browsing the .net forum, but w/ my situation where i am making a program in .net and vb 5, should i just create the thread twice, once in each forum, to save u the trouble of moving it constantly?
    aka Ender

  11. #11

  12. #12
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Edneeis has an example of combobox (if not listbox) with multiple columns . Check it out in his website .

  13. #13

    Thread Starter
    Member andrew5578's Avatar
    Join Date
    Dec 2003
    Posts
    51
    i am writing it in two languages because i have been given directions to do so... kinda sucks but... pirate, do u have a link to his website?
    aka Ender

  14. #14
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width