By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,279 Members | 1,244 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,279 IT Pros & Developers. It's quick & easy.

colol listview item

P: n/a
hi,
there is a vb.net listview (singleselect = true) control and when it loses
the focus i want to keep the selecteditem highlighted

i can use for example
listView.selectedItems(0).backcolor = color.Blue
in the SelectedIndexChanged event.
My prob is that i can't find the same color as the one that is used when
the listview item is highlighted. how can i find it ?
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

Set the listview's hideselection property to false.

http://msdn.microsoft.com/library/de...ctiontopic.asp

Ken
--------------------------------
"juststarter" <ju*********@discussions.microsoft.com> wrote in message
news:01**********************************@microsof t.com...
hi,
there is a vb.net listview (singleselect = true) control and when it loses
the focus i want to keep the selecteditem highlighted

i can use for example
listView.selectedItems(0).backcolor = color.Blue
in the SelectedIndexChanged event.
My prob is that i can't find the same color as the one that is used when
the listview item is highlighted. how can i find it ?
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.