Hi
You can achieve this using two picture boxes. Place one picture box on a form, place the second picture box within the first picture box (such that the first picture box is the container of the second picture box). Load your graphic into the second picture box, load a background graphic (if you wish) in the first picture box.
The use some code like the following to move the second picture box within the first picture box, the first picture box has the effect of clipping the second picture box.
Dim lngLoop As Long
For lngLoop = 0 To 3000
Picture2.Left = -3000 + r
DoEvents
Next
For better performance you should do the moving within a timer event or within you load / save / game play.
Have fun
Chris
Enter your message below
Sign in or Join us (it's free).