ListBox: How to scroll to a given row ?

I do not want to select the row, and actually doing so doesn’t always produce the desired result in my case. What I wish to accomplish is scrolling the list box so that a given row is the top most row in the listbox. For example, a listbox may have 100 rows and I would like to tell it to place row 50 as the first visible line in the listbox.

Thanks!

Um, wow. What a dumb question, can I delete this thread :smiley:

MyListBox.ScrollPosition = RowToPlaceAtTop

So, to answer my own question:

MyListBox.ScrollPosition = 50

Would place the 50th (well, 51st as it is zero based index) at the top of the listbox.