-
listview selection
my problem is the listview, when i select the second row it works. now the focus goes to another control.. then the problem is when i go back to the listview.. there are no selected item already?
what should i do so that the last row selected do not change?
-
Re: listview selection
how do you go back to listview?
what code are you using for listview events?
-
Re: listview selection
i have to code.. i just select a row.. and show a form.. after closing the form.. the selected row is already unselected.
-
Re: listview selection
When focus moves away the highlighting will move away and that would definately happen if the form is closed and then reopened/reloaded.
-
Re: listview selection
you could save the index of the selected item then reselect it by code, either to a variable for while the program is running, or to file of sometype for use when the program starts
-
Re: listview selection
Set the HideSelection property of the listview control to False ;)