Private Sub Command2_Click()
Picture1.Scale (0, 0)-(800, 400)
'Picture1.BorderStrle = 6
For x = 50 To 800
Picture1.Line (x * 50, 0)-(x * 50, 400)
Next x
For y = 50 To 400
请问各位老师:出现提示:BorderStrle只能=1,不能=6.为什么?能否为我解惑?
Picture1.Line (0, y * 50)-(800, y * 50)
Next y
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Picture1mousemove(x As Single, y As Single)
Picture1.Caption = "当前鼠标坐标为:x" & x & "y" & y
End Sub