repeatRate | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Specifies how long a scrollbar waits between repeats when the mouse button is held down. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: scrollbar, integer Property: pageIncrement Message: scrollbarLineInc Function: milliseconds Glossary: mouse button, property, negative | ||||||
Description | Use the repeatRate property to control auto-scrolling when the mouse button is held down. If the user clicks in the gray region of a scrollbar or on one of its arrows and holds the mouse button down, the scroll action is repeated and the scrollbar is updated repeatedly as long as the mouse is down. The repeatRate is the time in milliseconds between one update and the next. If the repeatRate is zero, updates are performed as often as possible with no delay. If the repeatRate is negative, scrollbar clicks do not repeat at all. | ||||||
Tags | ui |