gettingstarted
[Top] [All Lists]

Re: Mysterious Window Appearance

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Mysterious Window Appearance
From: Jonathan Johnson <jonj at realsoftware dot com>
Date: Sat, 29 May 2004 11:10:55 -0500
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>

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>

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