gettingstarted
[Top] [All Lists]

Re: Mysterious Window Appearance

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Mysterious Window Appearance
From: Seth Willits <seth at freaksw dot com>
Date: Sat, 29 May 2004 12:05:15 -0700
Delivered-to: gettingstarted at lists dot realsoftware dot com
List-help: <mailto:gettingstarted-request@lists.realsoftware.com?subject=help>
List-id: Getting Started <gettingstarted.lists.realsoftware.com>
List-post: <mailto:gettingstarted@lists.realsoftware.com>
References: <1da dot 22d5ea21 dot 2dea0d09 at aol dot com> <C3E51B8B-B18A-11D8-B45A-000A959DF1D2 at realsoftware dot com>
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>

<Prev in Thread] Current Thread [Next in Thread>