i am designing a form, but i need to spice it up. and so i was wondering if it is possible to move buttons or labels accross the form and have like a animation. please help!!
Printable View
i am designing a form, but i need to spice it up. and so i was wondering if it is possible to move buttons or labels accross the form and have like a animation. please help!!
Take a look at this thread to give smooth animation to controls.
Add the following to a Form with a Timer and CommandButton. This will make the button move across the screen.
Code:Private Sub Form_Load()
Timer1.Interval = 1
End Sub
Private Sub Timer1_Timer()
Command1.Left = Command1.Left + 100
If Command1.Left > Me.Width Then
Command1.Left = 0 - Command1.Width
End If
End Sub
Maybe you should tell us how you want to move the controls?
the easiest is the timer control method, thanks again