On Mon, Jan 21, 2013 at 9:45 AM, Staffan Tylen <staffan.tylen@gmail.com> wrote:

Well, the funny thing here is that if I only generate one listview it is never coloured, even if it only consists of 2 rows. But if I generate 13 listviews in a tight loop, some of them with 1000's of rows, all but one end up with the correct colouring! So unfortunately this doesn't match your explanation to the problem.


I've looked through the code and the only thing I see that might cause one list-view to never be colored is if there is a syntax condition pending in the Rexx code.  If that is the case, the custom draw event handler is not invoked because doing so causes everything to hang.  But, you should see a syntax condition raised when you run the program.

Other than that, I don't see anything in the code that would cause what you are seeing.  So, I'll definitely need an example program to do anything more.

Mark Miesfeld