Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List View highlighted row dispears

Status
Not open for further replies.

redav

Programmer
Mar 20, 2001
55
GB
Hi

when you click on a blank row (the rows below the data) on a list view the highlighted row dispears.

How can I stop this from happening.
 
You should set HideSelection=False, on the Properties of the listView. If hideselection = true, then selected row in the list view dissapears only when it loses the focus, but no matter if the state of hideselection was true or false, when I clicked on a blank row (the rows below the data), the highlighted row didn't quite dissapear, it still kept the dotted border.
I don't think the listview has a property which sould keep always highlighted the selected row.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top