Specifies how long a scrollbar waits between repeats when the mouse button is held down.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
set the repeatRate to milliseconds
# Examples
set the repeatRate to 1000 -- 1 second
# 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,
# See
- **keyword:** scrollbar, integer - **property:** pageIncrement - **message:** scrollbarLineInc - **function:** milliseconds - **glossary:** mouse button, property, negative