Accessing an Imagelist in VB.NET
-
I am relatively new to VB and I'm trying to figure out how to reference the images in an imagelist by using the index of the image within the list. I want to be able to take an image from the imagelist and place it in a picture box by using the index. I cannot figure out the syntax for this code. DGW
-
I am relatively new to VB and I'm trying to figure out how to reference the images in an imagelist by using the index of the image within the list. I want to be able to take an image from the imagelist and place it in a picture box by using the index. I cannot figure out the syntax for this code. DGW
Should look like this:
MyPictureBox.Image = MyImageList.Images.Item(Index)
Hope that helps!! Daniel E. Blanchard -
Should look like this:
MyPictureBox.Image = MyImageList.Images.Item(Index)
Hope that helps!! Daniel E. Blanchard