realbasic-nug
[Top] [All Lists]

Re: feedback ID for detecting last file drop?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: feedback ID for detecting last file drop?
From: Steve Roy <sroy at mac dot com>
Date: Wed, 30 May 2007 11:08:04 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20070530174514 dot C6D9675BDDE at mail dot verex dot com>
On Wednesday, May 30, 2007, at 11:45AM, <joe at strout dot net> wrote:

>And meanwhile, does anyone have a solution to this problem (of knowing
>when the last file has been processed) more clever than resetting a
>Timer on each OpenDocument call?

I think a better description of the problem is that one needs to know at launch 
whether to open a blank document or whether some OpenDocument event is 
forthcoming?

In such a case what I do is always open up a blank document window at launch. 
When an OpenDocument event arrives (at launch or whenever), I look if there is 
a blank unedited document window open, and if there is then I replace the 
document in the window by the one from the OpenDocument event. If there isn't 
then I open a new window.

Steve
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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