Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference »

Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.

mouseDoubleClick

mouseDoubleClick

Handler:

on mouseDoubleClick
statements
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.

Related Topics

Placeholders

statements

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

HyperTalk Reference


Version 0.8b4 (July 4, 2025)

Made with Macintosh

Switch to Modern View