Solved

VB6 list box - individual colour per line.

Posted on 2008-10-22
3
602 Views
Last Modified: 2013-12-26
Hi,

Anyway for a VB6 list box to have an individual colour per line? If not, anybody know a free control that expands the list box to have this functionality?

Thanks,
Uni
0
Comment
Question by:Unimatrix_001
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 22

Accepted Solution

by:
danaseaman earned 500 total points
ID: 22774938
See Owner Draw Combo and List Boxes Version 2.1
You can change the ForeColor and BackColor of each row  as items are added to the list.

http://www.vbaccelerator.com/home/vb/Code/Controls/Combo_and_List_Boxes/Owner_Draw_Combo_and_List_Box/article.asp
0
 

Expert Comment

by:jonwinchester
ID: 22785285
I am not familiar with a free control, but we have been using the Becubed Mh3dlist for years. It allows multiple cols and adding color by line. (Formerly Microhelp).
0
 
LVL 3

Author Closing Comment

by:Unimatrix_001
ID: 31508666
Excellent - just what I'm after, cheers. :-)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question