Sent when the mouse button is released at the end of a double-click.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android, web Introduced: 1.0 Security:
# Syntax
mouseDoubleUp pButtonNumber
# Params
- pButtonNumber : Specifies which mouse button was pressed:
# Examples
on mouseDoubleUp theMouseButton if theMouseButton is 3 then answer file "Please choose a file to open." else pass mouseDoubleUp end if end mouseDoubleUp
# Description
Handle the mouseDoubleUp message to perform an action when the user double-clicks.
The mouseDoubleUp message is sent to the control that was double-click, or to the card if no control was under the mouse pointer.
If a tool other than the Browse tool is being used, no mouseDoubleUp message is sent. If an unlock field is clicked with mouse button 1 or 2, no mouseDoubleUp message is sent.
The doubleClickInterval and doubleClickDelta properties determine what LiveCode accepts as a double-click.
>*Note:* If the user clicks a transparent pixel in an image, > the mouseDoubleUp message is sent to the object behind > the image, not to the image.
# Tags
ui,
# See
- **property:** doubleClickDelta, doubleClickInterval, properties - **message:** mouseDoubleDown - **command:** answer file, click - **function:** clickLoc, mouse - **glossary:** Browse tool, card, control, double-click, field, image, message, mouse button, mouse pointer, object, pixel, unlock - **control structure:** pass