How to remove selected item
Posted: 09 Aug 2012, 23:44
there is nothing like explorerlistview.selecteditem.remove
so how can i remove/edit the selected item?
so how can i remove/edit the selected item?
Unicode ActiveX controls for Visual Basic 6
https://www.timosoft-software.de/forum/
Code: Select all
If Not ExplorerListView1.CaretItem Is Nothing Then
ExplorerListView1.ListItems.Remove ExplorerListView1.CaretItem.Index
End If
Code: Select all
If Not ExplorerListView1.CaretItem Is Nothing Then
ExplorerListView1.ListItems.CaretItem.StartLabelEditing
End If
Code: Select all
Dim col As ListViewItems
Set col = ExLVwU.ListItems
col.FilterType(FilteredPropertyConstants.fpSelected) = FilterTypeConstants.ftIncluding
col.Filter(FilteredPropertyConstants.fpSelected) = Array(True)
col.RemoveAll