delphi - How to make a proper alternate row color on a filtered TVirtualStringTree -


previously used virtualstringtree showing of nodes, , used node.index check odd , rows inside onbeforecellpaint event.

but when filtered nodes, realized node.index irrelevant used alternate rows shown in screenshot below:

virtualstringtree alternate color on filtered nodes

any idea/solution solve this?


Comments

Popular posts from this blog

javascript - How do you prevent nested queries/catches in sequelize? -

java - Could not retrieve pre-bound Hibernate session - Could not obtain transaction-synchronized Session for current thread -

java - ConcurrentModificationException upon committing transaction with Hibernate -