Results 1 to 11 of 11

Thread: Mulitcolumn listbox?

  1. #1

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Mulitcolumn listbox?

    How do I get it to populate each column??
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  2. #2
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    In fact i dont think there is such property like a listview column in Listbox. When you set the MultiColumn porperty of listbox to True then items are added till it reaches the end of the control and then goes to another column. You can adjust the column width, and the number of items in each column are decided by the controls height and item height which is controled by font size of the control.

  3. #3
    Member
    Join Date
    Dec 2002
    Location
    NY, USA
    Posts
    52
    Why do you want to use Listbox? Can you go with either Listview or Datagrid?
    Iouri Boutchkine

  4. #4

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    do you just ...add item...add item....add item.. and it will automatically put each item in the next column?

    or is there a seperater used?


    thanks!
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  5. #5
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    Yes, add, add,... then going to another column and so forth...

  6. #6

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    Iouri


    just need a simple list...but wanted seperated data...


    well..it doesnt seem to work...just adds one per row.

    the listbox is very wide too....

    stumped...
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  7. #7
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Each item is a row and the columns are seperated with tabs. Then if its set to muli-column then it will display right. Its basically a wrapper for the SetTab API.

  8. #8

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    ahhhh
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  9. #9
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    However I didn't actually test that out but I remember seeing an example of it somewhere.

  10. #10

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    worked like a charm! thanks Edneeis!
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  11. #11

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    my bad...no it doesnt.

    ok..after playing.

    there is no seperator....

    just add the items...when the list reaches the bottom line..it then moves up to the next column.

    oh well...no good. thanks to all
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

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