mouseDown | |||||||
Type | message | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | stack, card, field, button, graphic, scrollbar, player, image | ||||||
Summary | Sent when the user presses the mouse button. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android, web | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Related | Keyword: control Property: repeatDelay Message: scrollbarBeginning, scrollbarLineInc, mouseDown, mouseStillDown Command: grab Function: mouseClick Glossary: field, pixel, mouse button, lock, message, card, mouse pointer, image, object | ||||||
Description | Handle the mouseDown message to perform an action when the user presses the mouse button, before the mouse button is released. The mouseDown message is sent to the control that was clicked, or to the card if no control was under the mouse pointer. If the Browse tool is being used, and you click an unlocked field with mouse button 1 or 2, no mouseDown message is sent. If you click with mouse button 3, the mouseDown message is sent even though the field is not locked.
| ||||||
Tags | ui |