How to remove items from the listview control ? 
Author Message
 How to remove items from the listview control ?

'remove the selected item
ListView1.ListItems.Remove ListView1.SelectedItem.Index

'remove a specific item by index
ListView1.ListItems.Remove 3

'remove everything
ListView1.ListItems.Clear

--
Randy Birch, MVP Visual Basic

Moderator, Fidonet Visual Basic Programmer's Conference
VBnet, The Visual Basic Developers Resource Centre
http://www.*-*-*.com/



: Hi there,
:
: I've been workin' with visual basic quite some time now but can't figure
: out how to
: remove items from the listview control. Adding items is no problem using
: the
: on-line help
:
: Thanks in advance
:
: Andy
:



Sat, 08 Jan 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. ListView Control - Removing selected items from the list

2. Remove Selected item in ListView Control

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

4. Removing an item from a listview

5. Removing an item from a ListView

6. help adding and removing items from a listview

7. Q: How to get rid of ListView flicker when adding/removing items

8. SHFileOp and removing corresponding items from ListView

9. removing items from a listview

10. ListView items remain indented after removing icons

11. How to remove items in a listview?

12. ListView: Remove items *AND* rows???

 

 
Powered by phpBB® Forum Software