Tick Event

See Also  Examples  Applies to

Occurs through the countdown, at [Interval] milliseconds, to indicate progress toward completion. Remaining number of milliseconds is passed to event.

Syntax

Private Sub ccrpCountdown_Tick( ByVal TimeRemaining As Long)

Remarks

Tick events occur every [Interval] milliseconds during a countdown. The TimeRemaining in the countdown, expressed in milliseconds, is passed as the only parameter to this event.

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.

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