Detecting a "grabEnter"?
Björnke von Gierke
bvg at mac.com
Wed Sep 3 11:42:22 EDT 2008
On 3 Sep 2008, at 17:25, Richard Gaskin wrote:
>
>> Advantages are very smooth animation .... The main disadvantage is
>> a hellish processor load...
>
>
> It's generally considered better practice to use these four handlers
> for custom dragging operations:
>
> mouseDown -- to set a flag
> mouseMove -- checks the flag and does the work
> mouseUp -- clears the flag
> mouseRelease -- also clears the flag
Yes but that method will lag much more then using grab, viewable by
the lone eye, while most users will never notice the huge processor
load when using a repeat loop. As a game oriented developer, I prefer
the second back draw.
--
official ChatRev page:
http://bjoernke.com/runrev/chatrev.php
Chat with other RunRev developers:
go stack URL "http://bjoernke.com/stacks/chatrev/chatrev1.3b3.rev"
More information about the use-livecode
mailing list