Visual Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 17974
Number of posts: 55343

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Edit Report
Re: How do I make a countdown? Posted by Leahcim on 13 May 1999 at 7:07 AM
Add a timer to your form. In the timer event use:<p>
Static TimeLeft as Integer<br>
TimeLeft = TimeLeft - 1<br>
Me.Caption = 16 + TimeLeft<br>
If Me.Caption = "0" Then<br>
Timer1.Interval = 0<br>
Command1.Enabled = True<br>
End If


Thread Tree
CyberWorm How do I make a countdown? on 13 May 1999 at 4:57 AM
Leahcim Re: How do I make a countdown? on 13 May 1999 at 7:07 AM
Koyax Re: How do I make a countdown? on 11 Oct 2011 at 1:02 PM



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.