Table of contents
TOC
Collapse the table of content
Expand the table of content

Delay Property

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Specifies the delay for the SpinUp, SpinDown, and Change events on a SpinButton or ScrollBar. Syntaxobject. Delay [= Long ] The Delay property syntax has these parts:

PartDescription
objectRequired. A valid object.
LongOptional. The delay, in milliseconds, between events.

Remarks The Delay property affects the amount of time between consecutive SpinUp, SpinDown, and Change events generated when the user clicks and holds down a button on a SpinButton or ScrollBar. The first event occurs immediately. The delay to the second occurrence of the event is five times the value of the specified Delay. This initial lag makes it easy to generate a single event rather than a stream of events. After the initial lag, the interval between events is the value specified for Delay. The default value of Delay is 50 milliseconds. This means the object initiates the first event after 250 milliseconds (5 times the specified value) and initiates each subsequent event after 50 milliseconds.

© 2018 Microsoft