I'm using the savepicture method to save a forms image to a bitmap file. During the program I'm changing the size of the form, but the size of the image does not change. Why?
How do I fix It?
Try for example:
-------------------------------------------------------
Sub main()
Form1.Width = 1000
Form1.AutoRedraw = True
MsgBox (Form1.Image.Width)
Form1.Width = 100
MsgBox (Form1.Image.Width)
End
End Sub
-------------------------------------------------------
The image has the same size even though the size of the form has changed.
Thanks in advance
Sunaj
How do I fix It?
Try for example:
-------------------------------------------------------
Sub main()
Form1.Width = 1000
Form1.AutoRedraw = True
MsgBox (Form1.Image.Width)
Form1.Width = 100
MsgBox (Form1.Image.Width)
End
End Sub
-------------------------------------------------------
The image has the same size even though the size of the form has changed.
Thanks in advance
Sunaj