On May 29, 2004, at 9:10 AM, Jonathan Johnson wrote:
Ah, I misunderstood what the code was attempting to do. I assumed that
it was meant to show the window and change the timer while it's opened
(to prevent an auto-close). To do what you want to do, you would need
to "hide" the window instead of closing it. The code would read:
winSplash.ShowModal
winSplash.Timer1.Mode = 0
and then in the timer's action event:
Hide
But what's the point of setting the mode to 0 anyway? There's no reason
to turn the timer off 1) if you're closing (and destroying) the window
like in the original code, and 2) if the mode is set to 1, it
automatically is set to 0.
Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic
"In the eyes of others, spending a lifetime chasing a dream is often
seen
as a lavish waste of a one-time gift, but maybe the joy isn't solely in
its catching, but also in its pursuit."
------------------------------------------------------------------------
---
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|