S
Steve
OK, I am stumped. I cannot for the life of me get images to show in
ListView items while the view is set to Details. I create an
ImageList, set the SmallImageList to point to the ImageList, then in my
code I do the following to add items to the ListView.
lvi = New ListViewItem
With lvi
.Text = "xxxxx"
.SubItems.Add("yyyy")
.ImageIndex = 1
End With
This is a simplistic snippet of my code. I expect all the items I add
this way will show the image at index 1 from the ImageList. Nothing
shows. Seems there is a placeholder, but no image. I've tried every
combination I can think of. Ideas? TIA... Steve
ListView items while the view is set to Details. I create an
ImageList, set the SmallImageList to point to the ImageList, then in my
code I do the following to add items to the ListView.
lvi = New ListViewItem
With lvi
.Text = "xxxxx"
.SubItems.Add("yyyy")
.ImageIndex = 1
End With
This is a simplistic snippet of my code. I expect all the items I add
this way will show the image at index 1 from the ImageList. Nothing
shows. Seems there is a placeholder, but no image. I've tried every
combination I can think of. Ideas? TIA... Steve