auto scroll to last added item in a listview...
- From: "Brad Pears" <bradp@xxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 30 Oct 2008 12:16:05 -0400
I have a listview control that when a new item is added, I'd like to auto
scroll that item to the top of the listview with the appropriate items
located above and below it...
Any time an item is added to the listview, the listview is refreshed -
meaning that the item can be located anywhere in the listview due to the
sort order...
So for example, if I had the following items
1
2
3
4
5 (newly added item)
6
7
8
9
10
I would want the listview to be scrolled so that item 5 (the new item) is
shown at the top of the lv with 6,7,8,9,10 below it. The user would then
have to scroll up to see items 1,2,3,4
Each listview item has a unique identifier - so can be easily located in the
listview...
Help!
Thanks, Brad
.
- Follow-Ups:
- Re: auto scroll to last added item in a listview...
- From: Brad Pears
- Re: auto scroll to last added item in a listview...
- Prev by Date: SupplyPophandbag
- Next by Date: label
- Previous by thread: SupplyPophandbag
- Next by thread: Re: auto scroll to last added item in a listview...
- Index(es):
Relevant Pages
|