How to show other columns in combo box

Discussion in 'AutoCAD' started by Tony Burba, Jun 25, 2003.

  1. Tony Burba

    Tony Burba Guest

    I have a combo box list that displays two columns: the first is project
    number, second is project description. When the user selects a project, the
    project number appears in the combo box, but the description doesn't.
    Anybody know how to make this happen?

    Thanks for any help.
     
    Tony Burba, Jun 25, 2003
    #1
  2. Hi Tony,

    One approach is to use the MouseUp property of the Combo box to read the
    current index and set the index of the second column accordingly.

    --


    Laurie Comerford
    CADApps
    www.cadapps.com.au
     
    Laurie Comerford, Jun 25, 2003
    #2
  3. Tony Burba

    Tony Burba Guest

    Laurie - Thanks for the suggestion, but I don't understand. What means the
    "index of the second column"? Is that the Listindex property or something
    else? Got an example?

    Thanks
     
    Tony Burba, Jun 26, 2003
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.