ListBox - scroll to last item???

  • Thread starter Thread starter Phil Jones
  • Start date Start date
P

Phil Jones

How can I get a [ListBox] to scroll to the its item (if it's list of items
exceeds the availble screen height).

I can't see a method to do this - I'd be looking for something like
"ScrollTo"- but I can't see anything.

Cheers everyone!
===
Phil
 
Phil Jones said:
How can I get a [ListBox] to scroll to the its item (if it's list of items
exceeds the availble screen height).

I can't see a method to do this - I'd be looking for something like
"ScrollTo"- but I can't see anything.

Set the listbox's 'TopIndex' property to the index of the item.
 
Back
Top