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

Glossary Item Box

Description

Returns or sets a variable that is global to the ArcPad application.

Property type

Read-write property

Syntax

object.UserProperties ( Name ) = [ value ]

Parameters

Name

Return Type

Variant

Remarks

The UserProperties property allows you to declare and use variables that are global to the ArcPad application. These variables are exposed to all scripts loaded into the ArcPad application. For example, the code

Application.UserProperties ("strMyString") = "Hello World"
declares the application global variable strMyString and assigns it the value "Hello World". This variable can then be used by any script loaded into ArcPad. For example, an applet or layer definition file may contain the code

MsgBox Application.UserProperties ("strMyString")

See Also

© 2012 All Rights Reserved.