mouseUpInBackdrop

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
mouseUpInBackdrop <pButtonNumber>
Associationscard
Summary

Sent when the user releases the mouse button, while the mouse pointer is in the backdrop.

Introduced1.1
OSmac, windows, linux
Platformsdesktop, server
Parameters
NameTypeDescription
pButtonNumber

Specifies which mouse button was pressed:

"1": the left button on systems with a multi-button mouse and the mouse button on Mac OS systems with a single-button mouse.
"2": the middle button on systems with a three-button mouse.
"3": the right button on systems with a multi-button mouse and Control-click on Mac OS systems with a single-button mouse.
Example
on mouseUpInBackdrop
  go to stack "Main" -- brings to front, if already open
end mouseUpInBackdrop
RelatedProperty: backdrop
Glossary: property, mouse button, mouse pointer, message, current card
Message: mouseUp, mouseDownInBackdrop
Description

Handle the mouseUpInBackdrop message to perform an action when the user releases the mouse button after clicking in the backdrop.

The mouseUpInBackdrop message is sent to the current card.

If the backdrop property is set to "none", the mouseUpInBackdrop message is not sent.

Tagsui