I have a list box that I want to be able to delete items from. What i am trying to figure out is how to set it up so that the user can delete from anywhere in the list, instead of just the last rcord. PLEASE HELP
Printable View
I have a list box that I want to be able to delete items from. What i am trying to figure out is how to set it up so that the user can delete from anywhere in the list, instead of just the last rcord. PLEASE HELP
example...
Private Sub Form_Load()
For i = 1 To 4
List1.AddItem i
Next
End Sub
Private Sub List1_DblClick()
List1.RemoveItem List1.ListIndex
List1.Refresh
End Sub