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

Glossary Item Box


Returns a reference to the global GPS object.

Property type

Read-only property


Set variable = object.GPS

Return Type

GPS Object


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

Sub IsGPSOpen
   Dim objTheGPS, blnOpen
   Set objTheGPS = Application.GPS
   blnOpen = objTheGPS.IsOpen
End Sub
Since the GPS object is global, the above example can be shortened to the following example:

Sub IsGPSOpen
   Dim blnOpen
   blnOpen = GPS.IsOpen
End Sub

See Also

© 2013 All Rights Reserved.