Home All Groups Group Topic Archive Search About

CheckedListbox backcolor question

Author
4 Jul 2006 6:48 PM
Kevin
Is there an easy way to modify a CheckedListbox control so that each
item can have a different backcolor?

Author
5 Jul 2006 5:03 PM
Jared Parsons [MSFT]
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]
jared***@online.microsoft.com
All opinions are my own. All content is provided "AS IS" with no warranties,
and confers no rights.
Author
5 Jul 2006 6:13 PM
Kevin
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]
<jared***@online.microsoft.com> wrote:

Show quoteHide quote
>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.
Author
6 Jul 2006 12:00 PM
mabond
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


Show quoteHide quote
"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]
> <jared***@online.microsoft.com> wrote:
>
> >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.
>
Author
9 Jul 2006 1:12 PM
Kevin
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
<mab***@discussions.microsoft.com> wrote:

Show quoteHide quote
>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]
>> <jared***@online.microsoft.com> wrote:
>>
>> >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.
>>
Author
6 Jul 2006 2:37 PM
Claes Bergefall
"Jared Parsons [MSFT]" <jared***@online.microsoft.com> wrote in message
news:61f143b4a7f8c86e316e413f02@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
Author
9 Jul 2006 1:21 PM
Kevin
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"
<louplou@nospam.nospam> wrote:

Show quoteHide quote
>
>"Jared Parsons [MSFT]" <jared***@online.microsoft.com> wrote in message
>news:61f143b4a7f8c86e316e413f02@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
>