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