Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

listview - set top item ??

Status
Not open for further replies.

Bruce1965

Programmer
Sep 17, 2004
54
GB
It's getting me down now ....

To follow on from some previous threads ....


I have a listview (100 items), I can select the index, set focus on the item, BUT how on earth do I build the list so that the item in question is at the top of the viewable list

That is, I want the listview to initially display items from record/index 25 and not 0


Thx,
Paul
 
Well there you go ..... I've found the answer .....


listview.EnsureVisible(Index)



Blimey, that was easy!!!!!!!!!!!!!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top