Zahid Mir

Zahid Mir

  • NA
  • 7
  • 0

How to change/modify images in ListView

Mar 17 2008 7:52 AM

After adding image to a listview, how can we change them. I tried the follwong but did not work. Please advise.

==================

Dim lvItem1 As New ListViewItem

lvItem1.ImageIndex = intImageIndex  

If str_Status = "U" Then 'Update text and image in listview

    lv_Messages.Items(intRow).Text = strTimeStamp   ' This works OK

    Me.lv_Messages.Invalidate(lv_Messages.Bounds)

    Me.lv_Messages.Update()

End If


Answers (1)