HyperTalk Reference
Home » HyperTalk Reference » System messages

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.




on mouseDoubleClick
end mouseDoubleClick

HyperCard sends this message to a button, field, or card after the mouse is clicked twice at the same place. When the message is sent, it's the only one sent during the second click; there's no mouseDown, mouseStillDown, or mouseUp message sent after the first mouseUp.

For HyperCard to send this message, the following conditions must all be true:

(a) The downstroke of a second click follows the downstroke of a previous click within the double-click speed set in the Mouse control panel; and (b) the second click occurs within four pixels of the first; and

(c) the second click occurs within the same object as the first.

If the user clicks repeatedly at the same location faster than the double-click speed set in the Mouse control panel, HyperCard treats each odd-numbered click as a first click and each even-numbered click as a second click.


Any return-separated list of built-in commands, user-defined handlers, or keywords that are part of a message or function handler.

put "Hello world"   -- built-in command
get total(field 1)  -- function call
global HelpInfo     -- keyword

Related Topics

« idle | HyperTalk Reference | mouseDown »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View