doubleClickInterval

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the doubleClickInterval to <timeInterval>
Summary

Specifies how long the delay can be between two clicks for them to be considered a double click.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the doubleClickInterval to 100 -- 1/10 second
set the doubleClickInterval to 250 -- 1/4 second
Values
NameTypeDescription
Value

The doubleClickInterval is an integer between zero and 65535. The value of the doubleClickInterval is expressed in milliseconds.

RelatedKeyword: integer
Message: mouseDoubleUp, mouseDoubleDown
Function: milliseconds
Glossary: object, property, message, read-only, double-click
Description

Use the doubleClickInterval property to fine-tune double-clicking.

Increase the doubleClickInterval to make the mouse less sensitive to slow double clicks; decrease it to make it less likely that two separate clicks will be mistaken for a doubleclick.

If more time than the doubleClickInterval elapses between the first and second click, no mouseDoubleDown or mouseDoubleUp message is sent to the clicked object.

On Mac OS systems, the doubleClickInterval is set to the current setting (in the Mouse control panel) when LiveCode starts up. Normally, you should not change the doubleClickInterval setting, since doing so may discombobulate the user.

On Windows systems, the doubleClickInterval property is read-only and cannot be set.

Tagsui