Mar 31, 2005 #1 Bruce1965 Programmer Joined Sep 17, 2004 Messages 54 Location GB I have a listview that has (say) 100 items. If I select an item then refresh the view, I loose position on the selected item. How can I maintain position on the selected item upon refreshing the view ?????
I have a listview that has (say) 100 items. If I select an item then refresh the view, I loose position on the selected item. How can I maintain position on the selected item upon refreshing the view ?????
Mar 31, 2005 #2 ThatRickGuy Programmer Joined Oct 12, 2001 Messages 3,841 Location US Record the position of the selected item prior to refreshing. refresh. set the selected item index to the position you recorded. -Rick ---------------------- http://www.ringdev.com I believe in killer coding ninja monkeys. Upvote 0 Downvote
Record the position of the selected item prior to refreshing. refresh. set the selected item index to the position you recorded. -Rick ---------------------- http://www.ringdev.com I believe in killer coding ninja monkeys.
Apr 2, 2005 #3 ucsjimj Programmer Joined Oct 12, 2002 Messages 23 Location US You could save the selected row's index, the re-select again. Upvote 0 Downvote