Groups | Blog | Home
all groups > dotnet general > september 2003 >

dotnet general : Selecting an Item in a listView


Sean Chapman
9/17/2003 11:12:26 PM
I was wondering how I would go about programmincally selecting a listView
item in a listView since the Selected val is read-only. I can't seem to find
any other method that will do this for me. I'm using a listView to list some
items and want to be able to delete one, then have it select the next one in
the list automatically.

AlexB
9/18/2003 11:26:27 AM
I believe the way to select an item is to set
the .SelectedIndex property to the index of the item.

Good luck
[quoted text, click to view]
AddThis Social Bookmark Button