J
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.
L
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.
J
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.