Bug in ListView?

L

Lars Netzel

(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
 
L

Lars Netzel

Not a bug... Found the fix.. HideSelection is default to = False

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

/Lars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top