mouseStillDown | |||||||
Type | message | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | stack, card, field, button, graphic, scrollbar, player, image | ||||||
Summary | Sent periodically while the mouse button is being held down. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android, web | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Related | Keyword: control Property: idleRate, idleTicks, properties, repeatDelay, script Message: mouseDoubleDown, mouseDown, mouseRelease, mouseUp, mouseMove Command: click Function: clickLoc, mouse Glossary: Browse tool, card, field, handler, message, message path, mouse button, mouse pointer, object, unlock | ||||||
Description | You can handle the mouseStillDown message to perform an action when the user holds the mouse button down. The mouseStillDown message is sent to the control that was originally clicked, or to the card if no control was under the mouse pointer. The period between mouseStillDown messages is specified by the idleRate and idleTicks properties. The mouseStillDown message is sent only when the Browse tool is being used. If an unlocked field is clicked with mouse button 1 or 2, no mouseStillDown message is sent. Usually, it is easier and more efficient to use the mouseMove message to track the movement of the mouse while the mouse button is being held down.
| ||||||
Tags | ui |