To delete currently selected item
WITH ThisForm.listview1.OBJECT
IF .SelectedItem.Selected
.ListItems.Remove(.SelectedItem.Index)
ENDIF
ENDWITH
>
>
>Any file in the Listview after the Itemclick event that means I could have
>many files as word.doc, excel.xls,text.txt,prog.prg,prog.fxp etc... in the
>listview!!!
>
>I am not sure what and how to know the (index as variant) when I use by default: .remove(1) for now and don't know to get the right selected one.
>
>ThisForm.listview1.listItems.remove(1) as .remove(index as variant)
--sb--