M
Mika M
Hi!
I'm wondering is it possible to give names for the images in the
imagelist somehow, and retrieve those images when needed by using code
like pic.Image = ImageList1.Images("Save") instead of pic.Image =
ImageList1.Images(1) ?
I'd like to retrieve images of the imagelist by name instead of image
index number because if order of those images are changed then index of
image may be no more same as referenced in the code, so name would be
better to use in this case.
I think something like this was possible to do with VB6 and earlier
versions.
I'm wondering is it possible to give names for the images in the
imagelist somehow, and retrieve those images when needed by using code
like pic.Image = ImageList1.Images("Save") instead of pic.Image =
ImageList1.Images(1) ?
I'd like to retrieve images of the imagelist by name instead of image
index number because if order of those images are changed then index of
image may be no more same as referenced in the code, so name would be
better to use in this case.
I think something like this was possible to do with VB6 and earlier
versions.