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

Glossary Item Box

Description

Returns a reference to the global Applets object.

Property type

Read-only property

Syntax

Set variable = object.Applets

Return Type

Applets Object

Remarks

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


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


Sub DisplayNumApplets
   MsgBox Applets.Count
End Sub

See Also

© 2012 All Rights Reserved.