Jump to content

Scroll to a given ListViewItem


Recommended Posts

Hi everyone.

I have a GUI with a ListView in it. Let's say the ListView can show 10 lines at a time. Then I populate the ListView with 25 ListViewItems, so there are 15 of them that are not visible.

The question is: How can I make the listview to "scroll down" to show one of the not visible items?. Example:

- Listivew is showing items 1 to 10.

- I want to show item 15. I am looking for a way of scrolling down the listview just enough for item 15 to appear in the last line of the listview.


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...