CheckListBox row color ...

  • Thread starter Thread starter Richard
  • Start date Start date
R

Richard

Hi

I have a CheckedListBox and I like to set the color of each row depending on
a value of the specific item in that row. I can't find a DrawItem event like
in the ListBox to hook on to ... Is there a way to achive this? I can get a
rectangle for each specific item (and row). Is there a way to use this?

Cheers.

Richard
 
Richard said:
I have a CheckedListBox and I like to set the color of each row depending
on a value of the specific item in that row. I can't find a DrawItem event
like in the ListBox to hook on to ... Is there a way to achive this? I can
get a rectangle for each specific item (and row). Is there a way to use
this?

You may want to check out the listview control, which supports checkboxes
and custom item colors.
 
Back
Top