Distinguishing simple and double clicks

Terry Judd tsj at unimelb.edu.au
Tue Sep 23 19:08:57 EDT 2008


> This sounds similar in some respects to the Finder's column view, in
> which a single click opens a new pane in the right-most column
> displaying info about the file, while a double-click triggers the most
> common verb, to launch the file.  The first click is always handled in
> the same manner consistently, with the same behavior when invoked by
> itself or when it occurs as part of a double-click.

Except if the item is already selected, in which case a single click selects
the text of the name for editing while a double-click opens the item without
selecting the text. There is however a noticeable delay between the mouseup
and the text selection, suggesting the use of something akin to the 'send
in' workaround it seems like many of us have implemented at times to account
for different and exclusive behaviour of mouseup and mousedoubleup routines.

Terry...




More information about the use-livecode mailing list