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

Glossary Item Box

Description

Returns a reference to the global Extensions object.

Property type

Read-only property

Syntax

Set variable = object.Extensions

Return Type

Extensions Object

Remarks

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

© 2012 All Rights Reserved.