Changing the picture in a picture box at runtime
-
How could I do this? I have maybe 16 different pictures that could be displayed in a picture box depending on certain things, and this picture can change at runtime.
-
How could I do this? I have maybe 16 different pictures that could be displayed in a picture box depending on certain things, and this picture can change at runtime.
' set the image
Picture1.Picture = LoadPicture("C:\Path\To\pic.bmp")
' clear the image
Picture1.Picture = LoadPicture()You could also use an image list as well. Jeremy L. Falcon Homepage : Sonork = 100.16311
"But everybody darlin' sometimes bites the hand that feeds." "Remember in this game we call life that no one said it's fair." "Just because you're winnin' don't mean you're the lucky ones." Song: Breakdown - Album: Use Your Illusion II - Artist: Guns N' Roses