@ Mark

Thank you for the explanation. I would have to study this out more to reply 
with anything more intelligent. 

Suffice it to say that 

set the doubleClickInterval to 100

Immediately turned our new app into a "snappy responsive" animal.

Which is good, because the prevailing thought was beginning to become "Livecode 
is really to slow for mobile." when in fact, we just need to understand how to 
optimize things.

I will try adding the mouseDoubleDown and mouseDoubleUp traps you suggest to 
our main API.lc backscript for  all stacks in the framework.

We will face the requirement to taking action on a double click when that time 
comes. Our current multi-stack, module framework would allow us to simply set 
it for a given context and reset when leaving that context. So far I'm not 
seeing a single use case for a double click all our stacks.

I like your click count idea!

BR
On 8/3/16, 1:55 PM, "use-livecode on behalf of Mark Waddingham" 
<use-livecode-boun...@lists.runrev.com on behalf of m...@livecode.com> wrote:

    Solution: If you don't need to handle double clicks do:
    
       on mouseDoubleDown
         mouseDown
       end mouseDoubleDown
    
       on mouseDoubleUp
         mouseUp
       end mouseDoubleUp
    
    This is a long standing (i.e. forever!) 'the way things work' in 
    LiveCode - although I think there is a way it could be a great deal 
    better, and more intuitive.
    
    

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to