long time since ive been here
im trying to move a picture from down to top and when it reaches the top
to do the same thing.
some how it keeps going up.
any idea what im missing?
this is the code
Code:
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
PictureBox1.Top -= 2
End Sub
Code:
Private Sub PictureBox1_LocationChanged(sender As Object, e As EventArgs) Handles PictureBox1.LocationChanged
If PictureBox1.Top >= Me.Height Then
PictureBox1.Top = 0 - PictureBox1.Height
End If
End Sub
tnx
salsa