PDA

Click to See Complete Forum and Search --> : Please Help


Alien_poo
Jan 8th, 2002, 05:22 PM
I am not totally new to VB but let's say I am no expert.
I have version 6.0 and I have been trying to figure out (for 3 days now) how to make a picture move in a picture box.

Example: I press the up arrow key and the image slides up at each seconds that I am still holding the key down.

Please give me the code and I will try to figure it out.

Thankyou

NOMADMAN
Jan 9th, 2002, 11:40 AM
I don't know if you are good with API or not, but you can just blit the image in the correct spot. But for once I think the non-api way is a bit easier. I just put a picture box inside another picture box and then moved the picture box inside the other... You can't tell theres a box there is you autoresize and set the border to 0.

I attached my project... the only thing is the picture box is inside the other. The code should be replaced with your own moving code.

NOMAD