If I use the Picture property of the form, I can specify it to put a bitmap on the form as the background.
Is there any way that I can resize the picture to adjust to the form size?
Thanks
Printable View
If I use the Picture property of the form, I can specify it to put a bitmap on the form as the background.
Is there any way that I can resize the picture to adjust to the form size?
Thanks
Use the PaintPicture Method:
Me.PaintPicture Me.Picture, 0, 0, , , 0, 0, Me.ScaleWidth, Me.ScaleHeight
You must set the AutoRedraw property of the form to true, otherwise the image will be erased once the form is covered by another object.
Eclipse,
Thanks for your code, but may be you misunderstand what I am looking for.
I need to proportionally enlarge or diminish the picture when I resize the form.
Is there any solution?