473,383 Members | 1,922 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,383 software developers and data experts.

CheckedListbox backcolor question

Is there an easy way to modify a CheckedListbox control so that each
item can have a different backcolor?
Jul 4 '06 #1
6 2130
Hello Kevin,
Is there an easy way to modify a CheckedListbox control so that each
item can have a different backcolor?
AFAIK, there is not an easy way to do this.

--
Jared Parsons [MSFT]
ja******@online.microsoft.com
All opinions are my own. All content is provided "AS IS" with no warranties,
and confers no rights.
Jul 5 '06 #2
Well thanks for responding.
I read these forums thinking there's people here that are 1000 times
more knowledgeable than me, yet I seem to ask questions nobody can
answer. Maybe they're just sick of me asking stupid questions and are
ignoring me. If there's better ways to do something, I'd sure like to
know.
On Wed, 5 Jul 2006 17:03:42 +0000 (UTC), Jared Parsons [MSFT]
<ja******@online.microsoft.comwrote:
>Hello Kevin,
>Is there an easy way to modify a CheckedListbox control so that each
item can have a different backcolor?

AFAIK, there is not an easy way to do this.
Jul 5 '06 #3
Kevin

rushing to the defence of the users of this group ..... I've had invaluable
help over the years from contributors to this forum and others in MSDN. I've
never had the impression that I would be ignored with any questions I've sent
in.

Regards

Michael
"Kevin" wrote:
Well thanks for responding.
I read these forums thinking there's people here that are 1000 times
more knowledgeable than me, yet I seem to ask questions nobody can
answer. Maybe they're just sick of me asking stupid questions and are
ignoring me. If there's better ways to do something, I'd sure like to
know.
On Wed, 5 Jul 2006 17:03:42 +0000 (UTC), Jared Parsons [MSFT]
<ja******@online.microsoft.comwrote:
Hello Kevin,
Is there an easy way to modify a CheckedListbox control so that each
item can have a different backcolor?
AFAIK, there is not an easy way to do this.
Jul 6 '06 #4

"Jared Parsons [MSFT]" <ja******@online.microsoft.comwrote in message
news:61************************@msnews.microsoft.c om...
Hello Kevin,
>Is there an easy way to modify a CheckedListbox control so that each
item can have a different backcolor?

AFAIK, there is not an easy way to do this.
You could consider using a ListView in details view instead. It supports
this feature.

/claes
Jul 6 '06 #5
Michael,
Don't get me wrong, this NG is the second place I come to when I need
help (Google being the first). Most of the time I find what I'm
looking for and the great people here usually post an answer within
ten minutes to most of my questions. There's just been a few times
where my questions go unanswered. So I take it to mean I'm doing
something the hard way and maybe a suggestion on how to do it a
different way would be helpful sometimes.

Kevin

On Thu, 6 Jul 2006 05:00:01 -0700, mabond
<ma****@discussions.microsoft.comwrote:
>Kevin

rushing to the defence of the users of this group ..... I've had invaluable
help over the years from contributors to this forum and others in MSDN. I've
never had the impression that I would be ignored with any questions I've sent
in.

Regards

Michael
"Kevin" wrote:
>Well thanks for responding.
I read these forums thinking there's people here that are 1000 times
more knowledgeable than me, yet I seem to ask questions nobody can
answer. Maybe they're just sick of me asking stupid questions and are
ignoring me. If there's better ways to do something, I'd sure like to
know.
On Wed, 5 Jul 2006 17:03:42 +0000 (UTC), Jared Parsons [MSFT]
<ja******@online.microsoft.comwrote:
>Hello Kevin,

Is there an easy way to modify a CheckedListbox control so that each
item can have a different backcolor?

AFAIK, there is not an easy way to do this.
Jul 9 '06 #6
I'm not real familiar with the Listview. In the past I've been using
in my VB6 programs an ActiveX control I bought from somebody. The
control still works in VB2005, but had issues because of the whole
Disposing thing. When I open a form with the Checklistbox, fill it,
let the user make selections in the box, then close the form, when I
open the form again, I can fill the Checklistbox, but the items are
invisible. The scrollbar shows that they're there, but you can't see
or select anything.

Now when I close the form, I include the line
Me.Dispose()
and the next time I open the form and load the Checklistbox, it works
fine. I just thought it would be nice if I could make a new
Checklistbox the way I want it.

On Thu, 6 Jul 2006 10:37:31 -0400, "Claes Bergefall"
<lo*****@nospam.nospamwrote:
>
"Jared Parsons [MSFT]" <ja******@online.microsoft.comwrote in message
news:61************************@msnews.microsoft. com...
>Hello Kevin,
>>Is there an easy way to modify a CheckedListbox control so that each
item can have a different backcolor?

AFAIK, there is not an easy way to do this.

You could consider using a ListView in details view instead. It supports
this feature.

/claes
Jul 9 '06 #7

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

Similar topics

0
by: | last post by:
David, A partial answer to your question: The 'MultiColumn' property of a CheckedListBox does not cause it to display multiple FIELDS of an item... it causes it to display the items...
4
by: Reza | last post by:
Hi, I want to check one of the memebrs of a checkedListbox based on its value. I 'm getting a number(say 1355) from another control and based on that number I want to check an item which its...
1
by: mphanke | last post by:
Hi, what is the way to go for adding colored items to the checkedlistbox control?? I can't find any solution eventhough I'm browsing the web for hours now... I actually planned to overwrite...
2
by: CC | last post by:
Hi, We are populating a CheckedListBox from a database. Based on a selection by the user, the CheckedListBox either contains ALL possible members of a set, or a subset of possible members. The...
8
by: Derek Martin | last post by:
Here is some code that I need help with please: Dim result As New ArrayList Try For i = 0 To objecttest1.PersonList.person_returnnumber - 1 result =...
2
by: Manuel Canas | last post by:
Hi there, I'm having this dilema with a checkedlistbox. I have an array of items in there, what I want to accomplish is the following; The user could check all the items in the...
0
by: Terry Olsen | last post by:
Dim dirs() as string = Directory.GetDirectories(MyPath) CheckedListBox.DataSource = dirs CheckedListBox.Update For I as Integer = 0 To CheckedListBox.Items.Count - 1...
5
by: mabond | last post by:
Hi Can't believe I've not been able to find the answer to this in the on-line help. I have a CheckedListBox which, via a timer control, is populated with the names of files in a network...
1
by: strychtur | last post by:
Hi All, Does any one know how to alternate item backcolor of a checkedlistbox? Is it even possible? Thanks for your help Cheers strychtur
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.