OnTimer Event (ATimer)

Occurs when a preset interval for an ATimer control has elapsed.

Syntax

Object.OnTimer()

The OnTimer event syntax has the following parts:

 

Name

Type

Description

Object

ATimer

ATimer control

Example

tmr1.OnTimer()

{

! Do some code here, such as take a measurement.

}

Applies to

ATimer