dcsimg
September 19, 2020
Hot Topics:

VB Coding Tip: Two Frame Animation Using a Timer

  • By Sam Huggill
  • Send Email »
  • More Articles »
Sub Timer1_Timer() 
Static Choice As Integer 
'// Uses 3 picture boxes. 
'// Picture1 - visible display 
'//            Picture2&3 - pictures 
If Choice Then 
Picture1.Picture = Picture2.Picture 
Else 
Picture1.Picture = Picture3.Picture 
End If 
Choice = Not Choice 
End Sub 





This article was originally published on November 19, 2002

Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.


Thanks for your registration, follow us on our social networks to keep up-to-date