Hello
Im having problem with the code below...
Private Sub Command1_Click()
If Not (ListView.SelectedItem Is Nothing) Then
ListView.ListItems.Remove (ListView.SelectedItem.Index)
End If
End sub
This code executes even if no item selected in the listview. How do you make it that only selected item in the listview will be deleted.
Thanks!
:afrog:

