realbasic-nug
[Top] [All Lists]

Re: DragItem and timers

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: DragItem and timers
From: Will Leshner <will at haranbanjo dot com>
Date: Thu, 30 Jun 2005 07:14:12 -0700
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <B6099125-EF06-4D61-B57E-2C03CF9D1FA3 at coficio dot com>

On Jun 30, 2005, at 7:08 AM, Alexander Cohen wrote:

I never get the timers action event until i let the drag go. Is this normal behavior within realbasic?

Yes. Timers fire when there is nothing else to do. So, at best, you are guaranteed that the timer will fire in no less time than is specified. But, in fact, more time may elapse.

Threads aren't going to help you out here either because a thread in Rb only yields at predetermined times and in the middle of a drag is definite *not* going to be a time to yield. In fact, I think I probably wouldn't even put a drag in a thread if I could help it.

I'm not sure there is a pure Rb solution to this problem. _______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

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