Back to Non-Emulation Help

Visual Basic Code

jadin72OP
#1
does anyone know visula basic code here? i need help on some homeowrk.
what would be the coding if i needed to check the location of a picturebox named picrocket? when it hits the bottom of the screen and goes off it, it needs to reappear at the top.
Loonylion
#2
you need to use the .top and .height properties of the picture box, as well as the .screen object. Don't have time to work out any code right now.
jadin72OP
#3
dont worry i got it.its under the "location changed" event and itsIf picRocket.Top >= Me.Height Then
picrocket.Top = -picRocket.Height
End IfThanks anyway.
Showing posts 1–3 of 3 · This discussion is archivedBack to top