On May 29, 2004, at 10:58 AM, GAmoore at aol dot com wrote:
Thanks Jon.
I have that timer set to mode 1 to begin with, so it fires a single
time
whent he splash
screen opens. When that timer fires, it causes the window to close.
After
that, I wanted
to set the mode to 0, so that if the user calls "About this
application", it
opens indefinitely
(and the timer is not activated). If I reverse the order, then the
timer will
be turned off
to begin with.
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
HTH,
Jon
--
Jonathan Johnson
Testing Department
REAL Software, Inc.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|