1 Attachment(s)
[RESOLVED] Problem with picturebox
Hi All
I'm trying to get two pictures to be displayed and saved - One small and one big
The big one is to be the snaphot of the form (this all works btw) then the smaller picture box to view what is in the bigger box but on a smaller scale
I was thinking of using the line of code:
Code:
Me.Picture2.PaintPicture Picture1.Picture, 0, 0, Picture1.ScaleWidth, Picture1.ScaleHeight
but it doesn't work - Any ideas???
I've made a sample (see attachment)
Re: Problem with picturebox
vb Code:
Set Picture1.Picture = Picture1.Image
Picture2.PaintPicture Picture1.Picture, 0, 0, Picture2.ScaleWidth, Picture2.ScaleHeight
you also need to set picture1.autoredraw to true
Re: Problem with picturebox