Nevermind that - not enough caffeine today.
I just looked at some code I had that does exactly what you're
wanting to do. What I had done is subclass a timer, then I had a
module that had a variable in it that was one of the subclassed
timers. In the App's Open event is when I activated the timer. HTH.
--
Chris Jett
[EMAIL PROTECTED]
On Aug 19, 2006, at 3:34 PM, Christopher Jett wrote:
Here's what I would do:
Create a new class, with super of Timer. Then dim a new timer
class in the App classes Open event handler, set its interval and
mode, and start it running.
--
Chris Jett
[EMAIL PROTECTED]
On Aug 19, 2006, at 3:14 PM, Tommy Single wrote:
How can I limit the time that my application runs to 10 minutes? The
problem with a timer is when a user closes the window with the
timer, the
timer goes away and then the program could be used for longer.
How would I
do this with code and where would I put the code?
Tommy Single
--
REALbasic 2006 Release 3 Standard Edition
Windows XP Home Edition Service Pack 2
Intel Pentium 4 3.2 GHz
512 MB RAM
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>