Sent when the user double-clicks.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android, web Introduced: 1.0 Security:
# Syntax
mouseDoubleDown pButtonNumber
# Params
- pButtonNumber : Specifies which mouse button was pressed:
# 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
# Description
Handle the mouseDoubleDown message to perform an action when the user double-clicks.
The mouseDoubleDown message is sent to the control that was double-click, 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 unlock field is clicked with mouse button 1 or 2, no mouseDoubleDown message is sent.
>*Note:* If the user clicks a transparent pixel in an image, > the mouseDoubleDown message is sent to the object > behind the image, not to the image.
# Tags
ui,
# See
- **property:** doubleClickDelta, doubleClickInterval - **message:** mouseDoubleUp, mouseStillDown - **glossary:** Browse tool, card, control, double-click, field, image, message, mouse button, mouse pointer, object, pixel, unlock - **control structure:** pass