Solved

VB6 list box - individual colour per line.

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
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…
Suggested Courses
Course of the Month11 days, 15 hours left to enroll

623 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