bensonsearch
Well-known Member
- Joined
- May 26, 2011
- Messages
- 844
Im wanting an image to move up the screen(in a label) until the top, but here is that catch it must be visible the whole way.
my code is as follows:
ElseIf KeyCode = 32 Then
Label2.Visible = True
If Label2.Top > 299 Then
Do
Label2.Top = Label2.Top - 1
Loop Until Label2.Top = 1
ElseIf Label2.Top <= 1 Then
Label2.Top = 300
End If
the code makes the image go to the top then back down again but it happens instantly with no seeing the image inbetween or on its travel if you will.
any help would be great
my code is as follows:
ElseIf KeyCode = 32 Then
Label2.Visible = True
If Label2.Top > 299 Then
Do
Label2.Top = Label2.Top - 1
Loop Until Label2.Top = 1
ElseIf Label2.Top <= 1 Then
Label2.Top = 300
End If
the code makes the image go to the top then back down again but it happens instantly with no seeing the image inbetween or on its travel if you will.
any help would be great