Windows Forms - Programmatically scroll a listview control to the selected item
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Hi all, I am writing simple windows form application with VS.NET 2003, It loads images selected from Openfiledialog in Listview its fine but How can I get listview to scroll to the selected item. Regards. Maulikce
Easy -
ListView1.Items(Index).EnsureVisible();
ormyListViewItem.EnsureVisible();
RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome