Home THE HYPERCARD CENTER

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.

mouseUp

mouseUp
Handler:

on mouseUp
   statements
end mouseUp
HyperCard sends the mouseUp message to a button or locked field when the user releases the mouse buttonand the pointer is inside the rectangle of the same button or field it was in when the user pressed the mouse button.

HyperCard sends mouseUp to the current card when the user both presses and releases the mouse button while the pointer is not in the rectangle of a button or field.


Demo Script

on mouseUp
   answer "Hello"
 end mouseUp

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


Related Topics

« mouseStillDown | HyperTalk Reference | mouseWithin »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View

Home
The HyperCard Center
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.

mouseUp

mouseUp
Handler:

on mouseUp
   statements
end mouseUp
HyperCard sends the mouseUp message to a button or locked field when the user releases the mouse buttonand the pointer is inside the rectangle of the same button or field it was in when the user pressed the mouse button.

HyperCard sends mouseUp to the current card when the user both presses and releases the mouse button while the pointer is not in the rectangle of a button or field.


Demo Script

on mouseUp
   answer "Hello"
 end mouseUp

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


Related Topics

« mouseStillDown | HyperTalk Reference | mouseWithin »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View