|
-
Oct 18th, 2001, 02:06 AM
#1
Thread Starter
Junior Member
Timer Object to control Animation speed
Great ones,
How is it possible to use the "Timer" object (looks like a stopwatch) to control the movement (velocity) of picture boxes across a form?
I don't want to use the often used code below because it burns up all CPU capacity while in the loop. Using such code the CPU is always at 100% when the picture boxes are animating across the form.
Sub Pause (Time as Single)
Dim Start as Single
Start = Timer
Do While Timer < Start + Time
Loop
End Sub
Does use of the "Timer" object cause CPU usage to go to 100%?
Thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|