Saving Listview Selected Item Problems
- From: "Saucer Man" <saucerman@xxxxxxxxxx>
- Date: Sun, 9 Sep 2007 16:57:55 -0400
When I exit my app, I save the listview selected item index in a text file.
When I open the app, I retrieve this index and select the item again in the
listview. This is working sporatically. Sometimes when I click on a
different column in the listview to change the sorting, if I close my app
and re-open it, I have a different item in the listview selected.
Othertimes when I do this it works fine. I am also saving the sort key and
sort order. How can I make it so that no matter what column is sorted, the
same item in the listview is retrieved when the app is opened?
--
Thanks.
.
- Follow-Ups:
- Re: Saving Listview Selected Item Problems
- From: Jan Hyde (VB MVP)
- Re: Saving Listview Selected Item Problems
- From: JP Bless
- Re: Saving Listview Selected Item Problems
- Prev by Date: Re: Getting 'File Not Found' calling function in DLL from within IDE
- Next by Date: Re: a UserControl
- Previous by thread: Getting 'File Not Found' calling function in DLL from within IDE
- Next by thread: Re: Saving Listview Selected Item Problems
- Index(es):
Relevant Pages
|