TopItem property of .NET ListView fails

Sep 04
2012

Today I have lost a lot of time because the .TopItem property of a ListView does not worked. After assigning a new item to this property, the TopItem most of the time remained unchanged.

The cause was a bug in the .NET framework: if the text value of the first column is empty, then setting the TopItem property fails.

Comments are closed.