Dim i As Integer Private Sub Image1_Click() Image1.Height = (i * 1000) + Val(Image1.Height) Image1.Width = (i * 1000) + Val(Image1.Width) i = i + 1 End Sub 原理就是这样``其它的自己研究了
好了,弄好了,定义一个Static变量 将第一个图片的Stretch设为False 第二个为True就行了! Private Sub Command1_Click() Static a, b Image2.Picture = Image1.Picture a = 2 * Image1.Width Image2.Width = a Image1.Width = a
b = 2 * Image1.Height Image2.Height = b Image1.Height = b End Sub