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

Glossary Item Box

Description

Returns a reference to the global Timer object.

Property type

Read-only property

Syntax

Set variable = object.Timer

Return Type

Timer Object

Remarks

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.