Hey,

This one has me stumped. I'm trying to change the location of an object's X position so that it has a marquee like effect. I'm doing this with buttons and text, etc...

I've been experimenting with code:

Code:
PictureBox1.Location = New Point(PictureBox.Location.X - 10, PictureBox.Location.Y)
With the intention of it moving 10px to the left. I would then use a timer, but it scrolls automatically for me, why?

If I try,

Code:
PictureBox1.Location = New Point(51,50)
where the Picture is previously at 50,50 it will not do this. Why?

Finally, what I want to know is:

If I use:

Code:
PictureBox1.Location = New Point(PictureBox.Location.X - 10, PictureBox.Location.Y)
which seems great (different - affects the speed). How do I get it to return on the other side of the screen?

Thanks