2
Answers

way to not lose selection in a listview?

shaun_wilde

shaun_wilde

21y
3.1k
1
I'm looking for a way to make a listview never lose it's selection. I am trying to implement a "properties pane." I want to be able to select an item in the listview, select an item in another pane, and click a button that will update the properties pane with the selected item from the other pane. hope that makes sense. is there a simple property, or will it take some coding?
Answers (2)
0
Khaja Moizuddin
NA 6.3k 206.5k 7y
As you are using File variable within the Button1_Click , which is local to the current method, i think you are accessing the same in another method ,i think you need to create object for FileInfo class in globally to access in another methods