CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 1999
    Posts
    2

    Multiple Column Combos

    I am Using VB6 (SP3), and which to create a multiple-column combo box (preferably a drop-down list style)

    I don't mind whether this is done run-time or design-time, but I cannot work out how to do this (or if it is possible - the help implies it is). I seem to remember in VB5 setting a multiple-column property to true, but I can't find any such property in VB6.

    Any help greatly appreciated.


  2. #2
    Guest

    Re: Multiple Column Combos

    The Columns property applies only to the Listbox control. With the Columns property you can set the number of columns in the listbox.

    No such property applies to the Combo box control.

    The closest you can do with a Combo box is to use a font such as Courior New and use Tab characters to seperate the items listed into columns. This takes a lot of source code to get the list to look good.



  3. #3
    Join Date
    Mar 2000
    Posts
    1

    Re: Multiple Column Combos

    you can't do it directly, but you could write your own ocx


  4. #4
    Join Date
    May 1999
    Location
    Omika, Japan
    Posts
    729

    Re: Multiple Column Combos

    The combo box that comes with MSFORMS.OCX has multi-line support, i have read. I haven't used but.

    With a lot of pain, you can do it your-self too, but may be better off using a ocx


    RK

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

Featured