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: Arnaud Nicolet <arnaud at tribu dot ch>
Date: Wed, 30 May 2007 20:26:11 +0200
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>
Le 30 mai 07 à 19:45 Soir, joe at strout dot net a écrit:

> The inability to tell when the last of a batch of files dropped on  
> your
> app has been fed to the OpenDocument event is a very old  
> shortcoming of
> RB, discussed in the archives back to 1998 at least.  Yet,  
> amazingly, I
> can't find a feedback report actually requesting that this be fixed.
> Maybe I'm searching under the wrong terms... can anyone find it?
>
> 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?

Rather than a Timer, could you not use the Ticks method?
You store the last Ticks and compare with the actual (so you avoid  
the inaccuracy of a Timer).
Of course, you add files in an array and you treat them later because  
processing files one by one may take too long.

But I'm sure you expect something better.
_______________________________________________
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>