|
-
October 15th, 2001, 12:58 PM
#1
How do I make the timer work?
Hi,
On my form, I have a button, a picture box and a timer.
When I press the button, I want the timer to wait 5 seconds before showing the picture in the picture box (Picture1.Visible = True).
I can`t seem to get the timer to work though.
Any Quick Info on this
Thanks
Mark
-
October 15th, 2001, 01:05 PM
#2
Re: How do I make the timer work?
Option Explicit
Private Sub Form_Load()
Timer1.Interval = 5000
Timer1.Enabled = True
End Sub
Private Sub Timer1_Timer()
Picture1.Visible = True)
End Sub
David Paulson
-
October 16th, 2001, 02:00 AM
#3
Re: How do I make the timer work?
On Button click :
timer.interval = 5000
timer.enabled = true
In Timer function :
picture1.visible = true
Regards,
The Beret.
-
October 17th, 2001, 09:41 AM
#4
Re: How do I make the timer work?
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
|