Hp-P00nst3r
09-18-2004, 07:02 PM
How do i have get image on the screen and make it move by pressing the arrow keys?
Moving an image with arrow keysHp-P00nst3r 09-18-2004, 07:02 PM How do i have get image on the screen and make it move by pressing the arrow keys? Dr-Mad 09-18-2004, 07:06 PM How do i have get image on the screen and make it move by pressing the arrow keys? use "If statements" Like: If (keycode = 105) Then imgPicture.top = imgPicture.top + 100 End If btw if you want to know what code is for what key put in "Msgbox Keycode" (I Think thats what it is) Someone please correct me if I'm wrong... I haven't programmed in a long time. -Thanks ZeroX 09-18-2004, 07:14 PM Give this a read http://www.xtremevbtalk.com/showthread.php?t=177598 Case statements would be better suited imo. |
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum