F
Frank Rizzo
I reload the items in the listview on a regular schedule (i.e. clear the
listview, then load it up with fresh values).
I want add a convinience to the user whereby my application remembers
the position of the scrollbars after reloading the data. But I can’t
figure out how to retrieve the scrollbar position (both horizontal and
vertical). Neither can I figure out how to restore the state of the
scrollbars. I could theoretically figure out the first visible item
via the .TopItem property and run .EnsureVisible on it, however, I’d
still want to set the Horizontal scrollbar and I don’t know how to do this.
Any idea on how to do this?
Thanks,
Frank
listview, then load it up with fresh values).
I want add a convinience to the user whereby my application remembers
the position of the scrollbars after reloading the data. But I can’t
figure out how to retrieve the scrollbar position (both horizontal and
vertical). Neither can I figure out how to restore the state of the
scrollbars. I could theoretically figure out the first visible item
via the .TopItem property and run .EnsureVisible on it, however, I’d
still want to set the Horizontal scrollbar and I don’t know how to do this.
Any idea on how to do this?
Thanks,
Frank