mouseDownInBackdrop

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
mouseDownInBackdrop <pButtonNumber>
Associationscard
Summary

Sent when the user presses 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 mouseDownInBackdrop -- show a popup menu with a list of windows
  popup button "Windows"
end mouseDownInBackdrop
RelatedProperty: backdrop
Glossary: property, mouse button, mouse pointer, message, current card
Message: mouseUpInBackdrop
Description

Handle the mouseDownInBackdrop message to perform an action when the user presses the mouse button while the mouse pointer is outside any window.

The mouseDownInBackdrop message is sent to the current card.

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

Tagsui