1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Image1.Visible Then
Image1.Visible = False
Me.Cls
End If
End Sub
Private Sub Label1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Image1.Picture = Picture1.Picture
bordsupx = Label1.Left + Label1.Width
bordsupy = Label1.Top + Label1.Height
Form1.Line (bordsupx, bordsupy)-(bordsupx + 600, bordsupy + 600)
Image1.Move bordsupx + 600, bordsupy + 600, 600, 600
Image1.Visible = True
End Sub |
Partager