468,301 Members | 1,468 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,301 developers. It's quick & easy.

move image

hi
i have one prob i want move image from one location to another location in Picturebox just like move the vechile on the road
Oct 28 '06 #1
2 2764
hi
i have one prob i want move image from one location to another location in Picturebox just like move the vechile on the road


Plz giv little bit more details
whether u want that picturebox should stay at its position and image should mean like scrolling an image(that is a requirement in case u hav small picturebox but large picture) OR u dont have any problem in moving a picturebox?
Oct 28 '06 #2
Killer42
8,434 Expert 8TB
Allow me to add another question - do you mean you want to move the whole image (as in scrolling), or do you want to move a smaller image around on a larger image (like an animated figure, for example)?

If you want to move the entire picture, you can just move the picturebox around by using the .Move method, or changing the top/left properties (remember, you can move to locations lower than zero). If you want it to move within a visibly bounded area (a frame, say) then just place it inside another picturebox.

It's also possible to use a similar technique (nested picturebox or image control) to move something around within another picture, but it may not be the best method.

Oh, one more thing - what version of VB?
Oct 29 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by Aaron | last post: by
3 posts views Thread by peter.chase | last post: by
5 posts views Thread by DL | last post: by
4 posts views Thread by gerardianlewis | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.