Scroll to last item in listview

  • Thread starter Thread starter David
  • Start date Start date
D

David

Would someone mind explaining how I can get a listview to scroll down and
show the last item.

I am creating a history log that receives records from the serial port and I
need the most recent item to be shown while the older items are either push
up or down.

A highlighted last entry would be an added bonus also.

Thanks in advance

Regards

David
 
David,

David said:
Would someone mind explaining how I can get a listview to scroll down and
show the last item.
[...]
A highlighted last entry would be an added bonus also.

\\\
Dim lvi As ListViewItem = Me.ListView1.Items.Add(...)
lvi.Selected = True
lvi.EnsureVisible()
///
 
Back
Top