I have a little VB.Net 4.0 WinForm app which contains a ListView. Depending on the content of one of the columns, I get the foreground color to change. The items are added live by a background process and the color set before adding to the list.
The problem is that as soon as either a new element is added, I click on an element or I scroll (vertically - horizontal scroll is fine), the forecolor resets to black. The only to get it back is to move any windows over it or scroll horizontally.
I've found a lot of posts of people having similar while not identical problem but no suitable solution.
Any help or hint will be appreciated! Thank you!
The problem is that as soon as either a new element is added, I click on an element or I scroll (vertically - horizontal scroll is fine), the forecolor resets to black. The only to get it back is to move any windows over it or scroll horizontally.
I've found a lot of posts of people having similar while not identical problem but no suitable solution.
Any help or hint will be appreciated! Thank you!