dead click functions

DunbarX at aol.com DunbarX at aol.com
Mon Jun 8 13:31:13 EDT 2009


Jacques.

Nice and simple. Another instance of using the idea of sending messages 
explicitly after a delay.

Sort of an implicit repeat loop, no? And the one tick delay gives the lions 
share of time back to the engine.

But I cannot see how to maintain a nice indicating cursor that way, 
important since we are in that loop thingie, unless I do it the old fashioned way, 
and incur the costs thereof.

Thanks...

Craig
In a message dated 6/8/09 11:54:30 AM, jacque at hyperactivesw.com writes:


> on mouseUp -- in the button
>    send "checkChunk" to me in 1
> end mouseUp
> 
> on checkChunk
>    if the mouse is down then
>      put the clickchar -- or whatever
>    else
>      send "checkChunk" to me in 1
>    end if
> end checkChunk
> 




**************
Download the AOL Classifieds Toolbar for local deals at your 
fingertips. 
(http://toolbar.aol.com/aolclassifieds/download.html?ncid=emlcntusdown00000004)



More information about the use-livecode mailing list