Login Register


two vb.net problems filter_list
Author
Message
RE: two vb.net problems #4
I can try to make it, but I'm currently working on something else. :p

Should be something like:

Code:
Dim ArrPoint As Point() Private Sub MoveObject() Dim intIndex As Integer = 0 For Each pic As PictureBox in Me.Controls Redim Preserve ArrPoint(intIndex) 'Expanding our Array Do While pic.Location.X < ArrPoint.X pic.Location.X += 2 Threading.Thread.Sleep(100) Loop Do While pic.Location.X > ArrPoint.X pic.Location.X -= 2 Threading.Thread.Sleep(100) Loop Do While pic.Location.Y < ArrPoint.Y pic.Location.Y += 2 Threading.Thread.Sleep(100) Loop Do While pic.Location.Y > ArrPoint.Y pic.Location.Y -= 2 Threading.Thread.Sleep(100) Loop intIndex += 1 Next End Sub
[Image: rytwG00.png]
Redcat Revolution!

Reply





Messages In This Thread



Users browsing this thread: 1 Guest(s)