How to scroll listview (details)

  • Thread starter Thread starter Rich Raffenetti
  • Start date Start date
R

Rich Raffenetti

In the listview control I can set the highlighted item with

listview.focus()
listview.items(integerValue).selected=true

How do I programmatically scroll the pane of the details view to bring the
highlighted item into the window?

multiselect is false.
 
Rich Raffenetti said:
In the listview control I can set the highlighted item with

listview.focus()
listview.items(integerValue).selected=true

How do I programmatically scroll the pane of the details view to bring the
highlighted item into the window?

multiselect is false.

listview.selecteditem.EnsureVisible
 
Lloyd Sheen said:
listview.selecteditem.EnsureVisible

Thanks. I found it in "help" to be

listview.EnsureVisible(integerValue)

EnsureVisible was the key. Works great!
 
Back
Top