Click to See Complete Forum and Search --> : Highlighting of list items


jeanne
January 5th, 2000, 03:44 PM
Upon clicking on a list item, the selected node is highlighted. However, once the control loses its focus, the highlight disappears as well.

I have tried using the following code
set listview1.drophighlight = listview1.selecteditem

The above code only highlights one node. Is there a way to hightlight muliple nodes(in the case where the mulitselect property is set to true) even if the controls loses it focus?

Chris Eastwood
January 5th, 2000, 03:55 PM
You need to set the 'HideSelection' property to false - this means that the listview items will appear selected even when it doesn't have focus.

Chris Eastwood

CodeGuru - the website for developers
http://codeguru.developer.com/vb