CheckedListbox backcolor question

  • Thread starter Thread starter Kevin
  • Start date Start date
K

Kevin

Is there an easy way to modify a CheckedListbox control so that each
item can have a different backcolor?
 
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.
 
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.
 
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
 
Jared Parsons said:
Hello Kevin,


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
 
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
 
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.
 
Back
Top