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: Thu, 31 May 2007 16:27:05 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20070530192337 dot 9933D75BF4C at mail dot verex dot com>
Le 30 mai 07 à 21:23 Soir, joe at strout dot net a écrit :

> On May 30, 2007, at 18:26 UTC, Arnaud Nicolet 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?
>>
>> 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).
>
> I don't understand your suggestion.  The point of the Timer is to give
> you a "callback" that will be invoked after you return the  
> OpenDocument
> event, but presumably only when no more OpenDocuments are immediately
> forthcoming.  I don't see how to accomplish this with Ticks.

Yes, you're right, my suggestion does not remove the need of a timer.
I just meant that the inaccuracy of a timer can be reduced by using  
Ticks. But you don't want to only reduce that, I understood after I  
posted.
_______________________________________________
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>