On a Form I have two Pictureboxes, Picture1 and Picture2. The Form, Picture1, and Picture2 have their ScaleMode = vbPixels. Picture1 and Picture2 have their AutoRedraw = True. Picture1 has a multi-colored bitmap (red, blue, yellow, green, cyan, magenta) of circles. Picture2 has no bitmap.
Am I using the function incorrectly or doe it simply not work?
Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.
Yes, that made it work. I can see that the function needs to be executed in the Picture2.Paint() event in order to retain the results in case of things getting in the way.
Thanks, dilettante
Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.