How to change an image in a picturebox (or in an imagebox) with a command ?
Thanx
Printable View
How to change an image in a picturebox (or in an imagebox) with a command ?
Thanx
put the following:
picture1.picture = loadpicture("the directory of the pic")
that's it
:) :) Many thanx :) :)
ACtually by using that or any other picturebox drawing method or api like bitblt, will change the image.
ex
Using bitblt or setpixelv you will directly change the image without changing the picture.Code:picture1.line (0,0,10,10),picture.forecolor
You will notice what's the difference when you use CLS method on it.