It's very simple: 

on mouseup
   # do something right now and don't wait more than 100 milliseconds
   # because we don't use double clicks anywhere in this app
end mouseup

There is no "dual model" to even think about.

Jacqueline: can you supply a small "long press" trap snippet for us here? tks

without even realizing it… I was editing an email in outlook on my iPhone 
trying to reply and wanted to cut out text, my instinctive attempt to select 
text was in fact a long press… Long click invokes "select | select all" , then 
double click invokes the copy begin and end slider to extend the selection. 

We will have to see if a use case arises where we will need to trap for this 
also. 

Jacqueline: how do you give a mobile user on android the ability to select a 
range of text versus just a word?

BR


Richard Gaskin wrote:

    For the reasons I noted in my earlier post, you may want to review your 
    libraries for where that's happening.  And since you're reducing the 
    doubleClickInterval to a value below what the user expects, you might 
    consider removing that dual model altogether and finding a different 
    means of delivering the options you're seeking to provide for the user.

_______________________________________________
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