Take a look on Marks sample
OORexx\ooDialog\examples\controls\ListView\customDrawListview.rex
/hex


Yes, thanks, I used that as model when coding my own implementation. As I said, it's working fine in general but there are intermittent problems. I have since my posting found that if I run the loop in my example with any number of calls to the generate method, one of the resulting listviews are always without row colouring, all the others are correct. Strange is that it looks like it's either the first or the last listview getting created that has the problem. I've tried disabling threading as much as I can by not using unguarded methods, but the result is still the same.

Staffan