Changing the location of an image using a text box

pilot20

New member
Joined
Feb 3, 2005
Messages
1
Programming Experience
Beginner
Please Help. I am trying to get a graphic to move when the number in a textbox changes. I want the graphic to move vertically only so shouldnt be too hard. I have managed to get VB to read from a text file number list and put numbers into a text box each second. I now need the numbers to move the image. Any ideas?
 
If the image is a picturebox, simply set the location of the picturebox based on the numbers.
If you're using the GDI function DrawImage, again use the numbers to change the location of where you draw the image.
 
Back
Top