Returns or sets a variable that is global to the ArcPad application.
Read-write property
object.UserProperties ( Name ) = [ value ] |
- Name
Variant
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")
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")