473,386 Members | 1,795 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Listbox with several colours?

Is there anyway to put the items on a listbox with several colours on its
items?

For example
Blue
Red
Red
Blue
.... and so on

Oct 11 '07 #1
3 1101
On Oct 11, 4:43 am, "Bruno Silva" <myownm...@brunosilva.euwrote:
Is there anyway to put the items on a listbox with several colours on its
items?

For example
Blue
Red
Red
Blue
... and so on
Like this?

http://www.codeproject.com/aspnet/ColorListBox.asp

Thanks,

Seth Rowe

Oct 11 '07 #2
Not like that, but colouring the text not the bg of the text, and its to vb
..net not to aspnet !

tnks

"rowe_newsgroups" <ro********@yahoo.comwrote in message
news:11*********************@r29g2000hsg.googlegro ups.com...
On Oct 11, 4:43 am, "Bruno Silva" <myownm...@brunosilva.euwrote:
>Is there anyway to put the items on a listbox with several colours on
its
items?

For example
Blue
Red
Red
Blue
... and so on

Like this?

http://www.codeproject.com/aspnet/ColorListBox.asp

Thanks,

Seth Rowe
Oct 11 '07 #3
Try this link then:

http://www.codeproject.com/cs/combobox/colorlistbox.asp

Again off codeproject.com. In the future you could just search there
yourself. All I did when I read your post was to search for "listbox
color" and give you the first link that seemed to be a match.

Thanks,

Seth Rowe

Oct 11 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: R.Wieser | last post by:
Hello All, I'm trying to get a "Virtual Listbox" to work. I've currently got a form, and used CreateWindowExA to create a ListBox with the LBS_OWNERDRAWFIXED and LBS_NODATA flags on it. I've...
7
by: GTi | last post by:
In Win32 I have a function that opens several Dialogs and put the window handle in a listbox (together with a string): HWND hWnd = CreateDialogParam(...) LB_SETITEMDATA, index, (LPARAM)hWnd); ...
6
by: Brett Miller | last post by:
Hi, I need to change the colour of certain items in a listbox depending on criteria I receive from my dataset? How would this be accomplished? Thanks in advance... BM
4
by: Sureshkumar | last post by:
Can anyone please help me with this. I do not know how to go about creating this. Fields in table: RatesMaster Publication Color Base_Rate Add-on
0
by: Paul_Madden via DotNetMonster.com | last post by:
I am handling the Listbox DrawItem event to enable the listbox strings to be displayed in different colours for easy reading. Have set ScrollAlwaysVisible and HorizontalScrollbar to true. I...
2
by: Paul_Madden via DotNetMonster.com | last post by:
I am handling the Listbox DrawItem event to enable the listbox strings to be displayed in different colours for easy reading. Have set ScrollAlwaysVisible and HorizontalScrollbar to true. I...
14
by: Paul_Madden via DotNetMonster.com | last post by:
Basically I have a listbox to which I add simple STRING items- I have a progress bar which I increment whenever I populate another portion of the complete set of items I wish to add. What I observe...
3
by: drodrig | last post by:
My apologies if this question has been asked an answered. I am looking for a tkinter grid control or enhanced listbox that can act as a "receipt" for a cash register program. I would like the...
5
by: CCLeasing | last post by:
Hello, I have searched google but can not find a straight forward answer to my problem. Hopefuly someone will be kind enough to offer their expertise. Please forgive if this seems a bit convoluted...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.