Results 1 to 4 of 4

Thread: [2005] Combobox-like control with small images instead of string items

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2005
    Location
    Germany, near Munich
    Posts
    172

    [2005] Combobox-like control with small images instead of string items

    Hello everybody ,

    Im trying to find out a way to create a combobox or a combobox-like control, that shows a small image in every of its items instead of a string. I want to use it to show line styles (dashed, dotted, solid, ...), for example.

    Does anybody know/have a solution?

    Thanks & Greetings,

    TheTree
    ********* Look at http://www.bahai.org - and enjoy it! *********

  2. #2
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,521

    Re: [2005] Combobox-like control with small images instead of string items

    Visual Studio Team Edition 2005
    GDI+ Links: Bob Powell VB.Net Heaven
    API Links: All API Pinvoke.Net
    VB6 to VB.Net: Visual Basic 6 to .NET Function Equivalents (Thread)

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Dec 2005
    Location
    Germany, near Munich
    Posts
    172

    Re: [2005] Combobox-like control with small images instead of string items

    Hi mpdeglau,

    thank you! That seems to be what Im looking for.

    Greetings,

    TheTree
    ********* Look at http://www.bahai.org - and enjoy it! *********

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Dec 2005
    Location
    Germany, near Munich
    Posts
    172

    Re: [2005] Combobox-like control with small images instead of string items

    Hi,

    Ive found a good solution in VB2005 Express online doc. Look at "ComboBox.DrawMode Property", ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/cpref17/html/P_System_Windows_Forms_ComboBox_DrawMode.htm.

    It has a sample too. Its easy to use.

    Greetings,

    TheTree
    ********* Look at http://www.bahai.org - and enjoy it! *********

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