New topic: Timer Countdown Help.
<http://forums.realsoftware.com/viewtopic.php?t=34237> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message waveuponwave Post subject: Timer Countdown Help.Posted: Fri Jun 11, 2010 3:35 pm Joined: Fri Jan 29, 2010 12:39 pm Posts: 295 Location: Virginia U.S.A. I am trying to use a timer to countdown from the point of a button push to 0 by seconds. Starting the countdown from a pre determined number. What is the best way to code this in the timer? Thanks. Example: Code:'button is pressed timer is started tmrReset = Enabled 'timer code dim intStart dim Now As New Date ' intStart in seconds intStart = 15 'Timer Countdown Code? 'Countdown from current time -15 seconds? If (It's been 15 seconds) Do stuff End _________________ RB2010r2 Pro on Win 7 I promise to help if I ever learn how to help myself. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
