PDA

Click to See Complete Forum and Search --> : PictureBox and PaintPicture woes


Rmch
Oct 18th, 2000, 11:56 PM
Can someone clue me in on this?

I use PaintPicture to copy an image from PictureBox1 to PictureBox2. Works fine.

But when I use PaintPicture to copy that image from PictureBox2 to PictureBox3 I don't get that new image. I only get the "old" data that was in PictureBox2 from a load or design-time setting.

I have tried tons of different things but it seems to me that the PictureBox has some kind of backbuffer or something for redrawing. And PaintPicture is just not updating it.

?

Fox
Oct 19th, 2000, 01:42 AM
Did you use the .Picture or .Image property? You should try the Image which is the modified data...

Rmch
Oct 19th, 2000, 11:00 AM
Thanks. That worked. :)