Results 1 to 8 of 8

Thread: ComboBox Question

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2000
    Posts
    39

    Question

    Is there an ComboBox control which will allow me to associate an icon to every item in the ComboBox. The main purpose is to set a comboBox with a list of countries with the icons representing their flags.

    Any suggestiions are appreciated.

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    You want the listview control.
    Project/Components/Window Common Controls
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2000
    Posts
    39
    I really have no space on the form for a listBox. What I really need is a dropdown box. Can the listBox perform the same functionality ?

  4. #4
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    I don't think that HeSaidJoe, unless you can change it to a combobox (wich view is that? never managed to do it!)
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  5. #5
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    shtirliz, a ListBox is something else than the ListVIEW, I can't help you any further but if you ever need some cool combo effects, use this
    http://www.mvps.org/vbnet/code/subcl...wedgecombo.htm
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  6. #6
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,176
    If you don't want to resort to Subclassing then checkout the ImageCombo control supplied with the Microsoft windows Common Controls component.

  7. #7

    Thread Starter
    Member
    Join Date
    Sep 2000
    Posts
    39

    Talking Thanks Aaron!

    ImageCombo is exactly what I was looking for. Thanks to all of you for your responses.

  8. #8
    Hyperactive Member Asaf_99's Avatar
    Join Date
    Jul 2000
    Location
    Israel
    Posts
    335
    I guess it's too late to reply, huh?
    So I'll give you this tip:
    Use an ImageList to put the pics in the image combo.
    Asaf Sagi

    ICQ: 61917199
    E-Mail: sagiasaf@netvision.net.il

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