|
-
May 9th, 2013, 03:56 AM
#5
Thread Starter
Addicted Member
Re: timer and mousemove problems
 Originally Posted by boops boops
The only place you set the Image is in the Timer Tick sub. But if the timer interval is 10 seconds, the first tick will happen 10 seconds after you start it. So it's not surprising that the PictureBox stays blank for 10 seconds.
The answer is to set the first image in the Load sub, just before or after you start the timer: PictureBox1.Image = My.Resources._1. Then, in the Timer Tick sub, declare ctr = 1 instead of 0.
NN
Works perfectly, thanks.
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
|