gettingstarted
[Top] [All Lists]

Re: Mysterious Window Appearance

To: gettingstarted at lists dot realsoftware dot com
Subject: Re: Mysterious Window Appearance
From: GAmoore at aol dot com
Date: Sat, 29 May 2004 11:58:01 EDT
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>
In a message dated 5/29/04 6:07:06 AM, jonj at realsoftware dot com writes:


> >    winSplash.ShowModal           // Causes Window to appear as it
> > should
> >    winSplash.Timer1.Mode = 0 // This causes the Window to reappear.
> 
> Just for your information, what's happening is that "showModal" blocks,
> which means until the splash screen is closed or hidden, the next line
> of code won't execute. Instead, the order of the lines above should be
> reversed.
> 

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.

Greg
_______________________________________________
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>