Hi,
I want to scroll a listview so that a specific listitem is displayed at the top - EnsureVisible usually displays it at the bottom. Does anyone know how to do this?
TIA
Andy
Printable View
Hi,
I want to scroll a listview so that a specific listitem is displayed at the top - EnsureVisible usually displays it at the bottom. Does anyone know how to do this?
TIA
Andy
This might work:
* Do an EnsureVisible on the last item in the list view.
* Do an EnsureVisible on the item you want
This should scroll upward, and stop when it is at the top. Of course, if it is one of the last items in the list, it will not be at the top.
-Jim