CodeItBetter Programming Another VB Programming Blog

How to assign image from imagelist control to another control at runtime

Posted on January 5, 2009
1
2
3
4
5
'Controls - How to assign image from imagelist control to another control at runtime
'Each ListImage object exposes a Picture property, which lets you extract the
'image and assign it to another control, typically a PictureBox or Image control:

Set Picture1.Picture = ImageList1.ListImages("Cut").Picture
Filed under: Controls Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.