Solved

VB6 list box - individual colour per line.

Posted on 2008-10-22
3
601 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
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

839 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