I am trying to build an avatar editor and want to add a scroll bar to enable the use to resize and move the position of facial features. Would a scrollbar be the easiest way or is there another way that this could be done?
I have managed to get a scrollbar to move images up and down but they move to the top left hand corner before they move, and move back to the original spot when the other scrollbar is moved. This is my code:
Private Sub HScrollBar1_Scroll(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ScrollEventArgs) Handles HScrollBar1.Scroll
If RadioButton3.Checked = True Then
Dim NewLocation As New Point
NewLocation.X = HScrollBar1.Value * +1
PictureBox03.Location = NewLocation
End If
Can anyone help? I am using Visual Basic 2008 Express Edition.
Thanks