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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I'm beaten-does someone know how to scroll to last row in a ListView? 1

Status
Not open for further replies.

CADTenchy

Technical User
Dec 12, 2007
237
GB
I've been trying to use the knowledge shared here for StringGrids and Memos, but I can't apply it to ListViews myself.

I'm trying to keep a ListView showing the last row, both after filling from a file, and adding to it a row at a time in my application.

Can anyone help?


Steve (Delphi 2007 & XP)
 
listview1.items.item[ListView1.items.count-1].MakeVisible(true);

Aaron
 
Thanks again Aaron, a lot!


Steve (Delphi 2007 & XP)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top