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

Glossary Item Box


Returns a reference to the global Extensions object.

Property type

Read-only property


Set variable = object.Extensions

Return Type

Extensions Object


The Extensions object is exposed globally. That means you can directly access the properties and methods of the Extensions object from any routine without first obtaining a reference to that object. For example, the following VBScript code displays the number of extensions loaded in ArcPad in a message box:

Sub DisplayNumExtensions
   Dim objExts
   Set objExts = Application.Extensions
   MsgBox objExts.Count
End Sub
Since the Extensions object is global, the above example can be shortened to the following one line example:

Sub DisplayNumExtensions
   MsgBox Extensions.Count
End Sub

See Also

© 2013 All Rights Reserved.