Groups | Blog | Home
all groups > vb.net > october 2005 >

vb.net : Bug in ListView?


Lars Netzel
10/5/2005 11:16:36 PM
(Applies to Windows.Forms vs.net 2003)

I populate a ListView (Details view) and for each row I change the forecolor
depending on a bunch of things. This is fine right after populating the
list.

When clicking on an empty row in the listview (below all items) the last
selected Item loose all formatting.

Clicking another Item in the makes the formatting right again.

Any ideas about this?

/Lars Netzel

Lars Netzel
10/7/2005 8:10:06 AM
Not a bug... Found the fix.. HideSelection is default to = False

change that to HideSelection=True and it will remember the formatting to..

/Lars



[quoted text, click to view]

AddThis Social Bookmark Button