Duration Property

See Also  Examples  Applies to

Returns/sets a value that determines how long the countdown will last. Measured in milliseconds.

Syntax

ccrpCountdown.Duration[ = value As Long ]

Remarks

Use the Duration property to set how long you want the countdown to last. The Timer event will fire when this duration has transpired.

The time remaining in a countdown may be determined at any time by querying the TimeRemaining property.

The Interval property of the Countdown object determines how often Tick events will fire during the countdown.

Set the Enabled property to True to begin a countdown, or to False to interrupt a countdown.

Data Type

Long

Default Value

1000 (1 second)