dannyres Posted September 4, 2003 Posted September 4, 2003 Hi, im working on a program and im trying to work out how to remove the selected item in a listview control... ive tried all sorts but nothing seems to work.. you'd think MS would add something like selectedindex :P.. well maybe they have but i cant find it. Anyway any help would be appreciated. Thanks, Dan Quote
pendragon Posted September 4, 2003 Posted September 4, 2003 You could use the RemoveAt option, something like this... Me.ListView1.Items.RemoveAt(Me.ListView1.SelectedItems.Item(0).Index) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.