I have the following:
How can I remove the image from the selected item???VB Code:
Private Sub cmdLargeFish_Click() Dim lvwItem As ListItem Set lvwItem = ListView1.SelectedItem If Not lvwItem Is Nothing Then lvwItem.SmallImage = "LARGE_FISH" Set lvwItem = Nothing End If End Sub Private Sub cmdIllFish_Click() Dim lvwItem As ListItem Set lvwItem = ListView1.SelectedItem If Not lvwItem Is Nothing Then lvwItem.SmallImage = vbNullString/0 'What the heck do you put here to REMOVE/CLEAR the image??? :( Set lvwItem = Nothing End If End Sub
Woka




Reply With Quote