Virtual-TreeView
Virtual-TreeView copied to clipboard
Drawing issue when LineMode = lmBands
I added an example project in which the issue can be reproduced. After startup just unfold some nodes and you will see that the bands are not drawn correctly.
VTBug.zip
When I compile your sample with V7.6.x under Delphi 11 the results looks quite OK:

Which version of Virtual TreeView and Delphi did you use?
Hi, I use the trunk version on Delphi 10.4 Community Edition (32bit). It seems to have improved since the last commits you did but I'm still able to get inconsistent drawing when collapsing individual nodes. I will try it tomorrow on D11 to see if it behaves differently.


On D11 and another PC I was able to reproduce the same issue:

I tested again with the new Delphi 11.1 and the results remained the same. It looks OK, but not perfect here, sometimes lines are missing:


Since I adopted the project several years ago, I never came across the setting LineMode lmBands or its code. So I doubt that many people are using it. I will accept pull request for this issue but I don't think it makes sense to invest much time here