ArcPad Scripting Object Model
Timer Property
See Also  Send comments on this topic.
Application Object : Timer Property

Glossary Item Box


Returns a reference to the global Timer object.

Property type

Read-only property


Set variable = object.Timer

Return Type

Timer Object


The Timer object is exposed globally. That means you can directly access the properties and methods of the Timer object from any routine without first obtaining a reference to that object. For example, the following VBScript code enables the timer:

Sub EnableTimer
   Dim objAPTimer
   Set objAPTimer = Application.Timer
   objAPTimer.Enabled = True
End Sub
Since the Timer object is global, the above example can be shortened to the following one line example:

Sub EnableTimer
   Timer.Enabled = True
End Sub

See Also

© 2013 All Rights Reserved.