|
-
Dec 19th, 2007, 06:03 PM
#1
Thread Starter
Frenzied Member
[2005] Listview question
hi folks, i've got an issue at the moment with a listview and was wondering if anyone can help:
I have two listviews. You select a row in listview 1 (multi-select = False; FullRowSelect = True), and that acts as a filter for the contents which are then shown in listview 2 which is below it. That works fine. However, the row that was selected in listview 1 then becomes unselected when you select a row in listview 2 (with the row in listview2 becoming selected). I want to show both selections so it's easy to see which row in listview1 caused the particular filter in listview 2. I've tried grouping them into different panels etc... but it doesn't work. Anyone got a solution?
Any ideas/solutions would be most welcome.
Last edited by stimbo; Dec 19th, 2007 at 06:22 PM.
-
Dec 19th, 2007, 06:15 PM
#2
Fanatic Member
Re: [2005] Listview question
What if you use the Selected property on the ListViewItem?
-
Dec 19th, 2007, 07:49 PM
#3
Re: [2005] Listview question
The row in the first control doesn't become unselected. It just becomes unhighlighted. Set the HideSelection property to False and the selection will remain highlighted even when the control is not active.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|