hi,everyone i need help about simple code to move the picture in form
simply animation of the picture.
thanks
josephbeluan
0
Newbie Poster
Recommended Answers
Jump to PostSee if this helps.
1 PictureBox, 2 ButtonsPrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click PictureBox1.Top += 5 PictureBox1.Left += 5 End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click PictureBox1.Top -= 5 PictureBox1.Left -= 5 End Sub
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.