VB怎么在窗口内点击会将左上角的图片移动到右下角?
vb吧
全部回复
仅看楼主
level 1
不要新窗口,就是本窗口。
我可以移动到中间,但是老师说移动到右下角弄不好会让图片的中心移动到窗体右下角。我要是整张图片移动到的。
Private Sub image1.Click()
Caption=“”
image1.Move(Form1.ScaleWidth-image1.Width)/2, _
(Form1.ScaleHeigth-image1.Height)/2, _
image1.Width,image1.Height
End Sub
这个是移到中间的。
2014年03月13日 16点03分 1
level 1
Private Sub Form.Click()
Caption=“”
image1.Move(Form1.ScaleWidth-image1.Width), _
(Form1.ScaleHeigth-image1.Height), _
image1.Width,image1.Height
End Sub
已经做完了。这样就可以。翻了课本研究单词的含义理解的。= =
2014年03月13日 16点03分 2
level 13
自己动手不就实践了吗 何须发此贴?
2014年03月13日 23点03分 3
1