DgsSetDoubleClickInterval

From Multi Theft Auto: Wiki

This function sets the determine time between 2 clicks of double click.

Syntax

bool dgsSetDoubleClickInterval( int interval )

Required Arguments

  • interval: An int of the interval of double click (ms).

Returns

Returns true if successful, false otherwise

Example

DGS = exports.dgs
DGS:dgsSetDoubleClickInterval(1000) -- Now, 2 clicks in 1 second will trigger double click event.

See Also

Multi Language Supports

Animation

3D Interface

3D Text

Browser

Button

Check Box

Combo Box

Custom Renderer

Edit

Detect Area

Grid List

Image

Memo

Label

Progress Bar

Radio Button

Scroll Bar

Scroll Pane

Switch Button

Tab Panel

Window

Plugin

Blur Box

Color Picker

Canvas

Effect 3D

Media Browser

Mask

Nine Slice

Object Preview Supports

QRCode

Remote Image

Rounded Rectangle