_DBLCLICK System Variable

See Also

Specifies the time interval between double and triple mouse clicks.

Syntax

_DBLCLICK = nTicks

Arguments

nTicks

Specifies the time interval in seconds. Internal timing is measured in clock "ticks," which are each about 1/18th of a second. If you store an integer or decimal value to _DBLCLICK, Visual FoxPro may store it as a slightly different value due to rounding to ticks. The default value for _DBLCLICK is 0.5 seconds. _DBLCLICK can range from 0.05 to 5.5 seconds (1 to 100 ticks).

Remarks

The _DBLCLICK setting overrides the setting specified in the Mouse dialog box in the Window Control Panel.

_DBLCLICK contains a numeric value that determines the time interval Visual FoxPro uses to check for a double or triple mouse click. _DBLCLICK is the time interval between mouse clicks. For example, if _DBLCLICK is set to 0.5 seconds, you have a 1/2 second to click twice for a double-click, and 1 second to click three times for a triple-click.

The larger the value of _DBLCLICK, the longer you can wait between the first and second click for Visual FoxPro to interpret the two clicks as a double-click. If _DBLCLICK is set to a very small value, even quick double (or triple) clicks may be interpreted as two (or three) single clicks.