Solved

VB6 list box - individual colour per line.

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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.
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…

734 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