Remove Selected item in ListView Control 
Author Message
 Remove Selected item in ListView Control

Hi,

How do you remove a selected row  in a listview?

 ViewFields.ListItems.Remove = ViewFields.SelectedItem

thanks
GV



Sun, 16 Jan 2005 04:23:47 GMT  
 Remove Selected item in ListView Control
Call ViewFields.ListItems.Remove(ViewFields.SelectedItem.Index)
or
ViewFields.ListItems.Remove ViewFields.SelectedItem.Index

--
Ken Halter - MS-MVP-VB - Please keep it in the groups..
http://www.vbsight.com - http://www.vbsight.com/MultiColumn.htm

Quote:

> Hi,

> How do you remove a selected row  in a listview?

>  ViewFields.ListItems.Remove = ViewFields.SelectedItem

> thanks
> GV



Sun, 16 Jan 2005 04:32:52 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. ListView Control - Removing selected items from the list

2. Remove selected items from a listview control in report format

3. ListView control - Keeping selected items looking selected

4. How to remove items from the listview control ?

5. jump listview to the hilight item (selected item)...

6. Why does the previous selected item in a ListView get selected for a short moment

7. to retrieve the currently selected item in a ListView control

8. Show selected items of 2 ListView controls??

9. MS ListView control deselects selected items when it regains focus

10. Selecting Items AND SubItems in ListView control

11. ListView Control's Selected Items Focus

12. Listview control - selected item

 

 
Powered by phpBB® Forum Software