Listview - Scroll prgramatically?

rbsoft

Active Member
Licensed User
Longtime User
Is there a way to scroll programatically to the last item of a Listview?

I would like to jump automatically to the last item if a new item is added.

Rolf
 
From the documentation:
SetSelection (Position As Int)
Sets the currently selected item. Calling this method will make this item visible.
If the user is interacting with the list with the keyboard or the wheel button the item will also be visibly selected.
Example:ListView1.SetSelection(10)
 
Upvote 0
Ah - I guess I was blind!
Thanks, kickaha.

Rolf
 
Upvote 0
Back
Top