repeatDelay

Specifies how long a scrollbar or field waits between the click in the scrollbar and the time the scrollbar movement begins to repeat.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

set the repeatDelay to milliseconds

# Examples

set the repeatDelay to 10

# Description

Use the repeatDelay property to control the responsiveness of scrollbars.

When the user clicks in a scrollbar, a mouseDown message is sent to the scrollbar. If the mouse button is still being held down after the time specified by the repeatDelay property, the scrollbar movement begins repeating.

# Tags

ui,

# See

- **keyword:** scrollbar, field, integer - **message:** mouseDown, mouseStillDown - **function:** milliseconds - **glossary:** property, mouse button, non-negative - **object:** scrollbar