Fandom

Livecode Wiki

MouseDoubleUp

1,968pages on
this wiki
Add New Page
Comments0 Share

Sent when the user double-clicks and the mouse button is released.Syntax:

mouseDoubleUp <mouseButtonNumber>

Examples:

on mouseDoubleUp theMouseButton -- show dialog on Control/Right-click
  if theMouseButton is "3" then showConfigDialog
  else pass mouseDoubleUp
end mouseDoubleUp

Handle the mouseDoubleUp message to perform an action when the user double-clicks.

The mouseDoubleUp message is sent to the control that was double-clicked, 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 unlocked 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.

If the user clicks a transparent pixel in an image,

the mouseDoubleUp 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 mouseDoubleUp message to perform an action when the userdouble-clicks.

See also: mouseDoubleDown (message),properties (property),doubleClickDelta (property),doubleClickInterval (property),

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.