Solved

VB6 list box - individual colour per line.

Posted on 2008-10-22
3
597 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Determine Range to Select 5 42
Add a task in Outlook from access 11 35
Visual Studio search word table and return Cell index 8 48
How to make an ADE file by code? 11 80
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now