Sent when the user double-clicks.Syntax:
mouseDoubleDown <mouseButtonNumber>
Examples:
on mouseDoubleDown myButton -- open a file in an another application if myButton is not 1 then pass mouseDoubleDown launch the label of the target with (field "Editor App") end mouseDoubleDown
Handle the mouseDoubleDown message to perform an action when the user double-clicks.
The mouseDoubleDown message is sent to the control that was double-clicked, or to the card if no control was under the mouse pointer.
The mouseDoubleDown message is sent only when the Browse tool is being used. If an unlocked field is clicked with [[mouse button]] 1 or 2, no mouseDoubleDown message is sent.
If the user clicks a transparent pixel in an image,
the mouseDoubleDown message is sent to the object(glossary) behind the image, not to the image.
Parameters:
- mouseButtonNumber (enum): The mouseButtonNumber specifies which mouse button was pressed:
- - 1 is the mouse button on Mac OS systems and the left button on Windows and Unix systems.- 2 is the middle button on Unix systems.- 3 is the right button on Windows and Unix systems and Control-click on Mac OS systems.
- Description:Handle the mouseDoubleDown message to perform an action when theuser double-clicks.
See also: mouseDoubleUp (message),mouseStillDown (message),doubleClickDelta (property),doubleClickInterval (property),