PDA

Click to See Complete Forum and Search --> : Moving Pic within PictureBox


Mustang
Aug 10th, 1999, 09:30 AM
I have a PictureBox that needs to stay at a constant Height/width, but the images inside are larger than the picturebox. How can I use scrollbars/buttons to move the picture within the Control? Thanks For any help.

Mustang
Aug 10th, 1999, 09:55 AM
I found it, should have looked in the help file for 10 more minutes. I'm using the PaintPicture Property to offset the X and Y coordinates.
If anybody else has had this problem, this is how the operation works...

object.PaintPicture picture, x1, y1, width1, height1, x2, y2, width2, height2, opcode

--Mustang