Results 1 to 10 of 10

Thread: [RESOLVED] MultiColor ListBox

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,070

    Resolved [RESOLVED] MultiColor ListBox

    Hey,

    Does anyone know a good ListBox control that has the ability to have multiple colors?

    Eg the first line is blue, the secnod line red etc...

    I know it's not possible with the normal ListBox, but I can't imagine that there are no 3rd party controls for this... However I've not been able to find any... I did find a Combobox though...

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: MultiColor ListBox

    Take a look at the CustomDrawLVDemo sample project listed here.

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,070

    Re: MultiColor ListBox

    Thanks, I tried it out but unfortunately it doesn't work right for me... Many events, methods etc have changed and now my whole project doesn't work anymore if I use this listbox.
    I had the same problem with another listbox I used...

    So I'm still looking for one... Preferably one that works exactly the same as a normal Listbox, only allowing you to add color...

    Something like this would work perfectly? I can't believe it doesn't exist yet... And I have no idea how I would go about making this so I'm not going to try lol...

    Code:
    List1.AddItem (Item As String, [Index], [Color])

  4. #4

  5. #5

    Thread Starter
    PowerPoster
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,070

    Re: MultiColor ListBox

    Thanks but unfortunately a Combobox won't do
    I need it for an "Auto List Members" kind of thing, it's the listbox popping up when you type "Text1." for example...
    I got it all worked out, works perfectly (thanks to the great help here mostly lol) but I need two types of keywords in it and want to color them differently to keep them seperated.

  6. #6

  7. #7

    Thread Starter
    PowerPoster
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,070

    Re: MultiColor ListBox

    Nah that's not waht I need either

    I really need a Listbox because it should already be expanded, all the time. And it should appear where the user is typing.
    If you want you can download the latest version of my app which features this AutoComplete function. (without the colors im now looking for obviously...)
    You can get it here:
    http://rapidshare.com/files/45035940...t_v05.zip.html

    (just click "Free" and enter the security code, no registration or anything required)

    If you want to test it, you can try it by simply typing words such as "spawn", "wm_...." or whatever... You'll notice it.


    What I'm looking for now is to have this listbox that appears when you type to feature multiple colors.

  8. #8
    Fanatic Member
    Join Date
    Jul 2007
    Location
    Essex, UK.
    Posts
    579

    Re: MultiColor ListBox

    I think what you need is SBList from Global Components. I have been using it for years and it is great. Best of all, it's now FREE!!

    http://www.global-components.co.uk/sblist/order.htm

  9. #9
    Frenzied Member
    Join Date
    Jul 2007
    Posts
    1,306

    Re: MultiColor ListBox

    try Far point products also, they hava load of funtionality, but its not free though. (list pro)

    http://www.fpoint.com/products/list/list.aspx

    it says its $245 !!!

  10. #10

    Thread Starter
    PowerPoster
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,070

    Re: MultiColor ListBox

    Thanks Steve Grant, I downloaded SBList and now I can change the backcolor of each item seperately!
    I was looking to change the forecolor, but the backcolor is just as fine

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