Description
Used in applet (*.apa) files, default configuration (ArcPad.apx) files, and layer definitions to associate scripts with ArcPad system object events.
Diagram
Overview
 |
SYSTEMOBJECTS
Used in applet (*.apa) files, default configuration (ArcPad.apx) files, and layer definitions to associate scripts with ArcPad system object events.
 |
Sequence
 |
APPLICATION
Used to specify scripts to call when Application object events occur.
|
 |
AUX
The parent element for AUX port settings in ArcPadPrefs.apx. Used to specify script subroutines to call when AUX events occur.
|
 |
GPS
Used to specify GPS preferences and script subroutines to call when GPS events occur.
 |
onaveragestart optional xs:string
Specify the script to run when this event occurs.
|
 |
onaveragestop optional xs:string
Specify the script to run when this event occurs.
|
 |
onclose optional xs:string
Specify the script to run when this event occurs
|
 |
onexevent optional xs:string
Specify the script to run when this event occurs.
|
 |
onopen optional xs:string
Specify the script to run when this event occurs
|
 |
onposition optional xs:string
Specify the script to run when this event occurs.
|
 |
onsentence optional xs:string
Specify the script to run when this event occurs.
|
|
 |
MAP
When parent element is SYSTEMOBJECTS, MAP is used to specify scripts to call when Map object events occur.
 |
onafterdraw optional xs:string
Specify the script to run when this event occurs.
|
 |
onafterlayerdraw optional xs:string
Specify the script to run when this event occurs.
|
 |
onbeforedraw optional xs:string
Specify the script to run when this event occurs.
|
 |
onbeforelayerdraw optional xs:string
Specify the script to run when this event occurs.
|
 |
onclose optional xs:string
Specify the script to run when this event occurs
|
 |
ondrawingcancelled optional xs:string
Specify the script to run when this event occurs.
|
 |
onfeatureadded optional xs:string
Specify the script to run when this event occurs.
|
 |
onfeaturechanged optional xs:string
Specify the script to run when this event occurs.
|
 |
onfeaturedeleted optional xs:string
Specify the script to run when this event occurs.
|
 |
onfeaturegeometrychanged optional xs:string
Specify the script to run when this event occurs.
|
 |
onidentify optional xs:string
Specify the script to run when this event occurs.
|
 |
onnew optional xs:string
Specify the script to run when this event occurs.
|
 |
onopen optional xs:string
Specify the script to run when this event occurs
|
 |
onpointerdown optional xs:string
Specify the script to run when this event occurs.
|
 |
onpointermodechanged optional
Specify the script to run when this event occurs.
|
 |
onpointermove optional xs:string
Specify the script to run when this event occurs.
|
 |
onpointerup optional xs:string
Specify the script to run when this event occurs.
|
 |
onsave optional xs:string
Specify the script to run when this event occurs.
|
 |
onselectionchanged optional xs:string
Specify the script to run when this event occurs.
|
|
 |
NAVIGATION
Used to specify scripts to call when Navigation object events occur.
|
 |
RANGEFINDER
Used to specify Rangefinder preferences and script subroutines to call when Rangefinder events occur.
 |
onclose optional xs:string
Specify the script to run when this event occurs
|
 |
onexevent optional xs:string
Specify the script to run when this event occurs.
|
 |
onmeasurement optional xs:string
Specify the script to run when this event occurs.
|
 |
onopen optional xs:string
Specify the script to run when this event occurs
|
|
|
|
Examples
|
Copy Code |
<?xml version="1.0" encoding="UTF-8" ?>
<ArcPad>
<CONFIG>
<SYSTEMOBJECTS>
<APPLICATION onstartup="Call LoadServiceForm" />
<GPS onposition="Call LogGPSLocation" />
</SYSTEMOBJECTS>
<TOOLBARS>
<TOOLBAR name="main" visible="false" />
<TOOLBAR name="browse" visible="false" />
<TOOLBAR name="draw" visible="false" />
<TOOLBAR name="tlbCustom1" caption="Custom Toolbar" visible="true" />
<TOOLBUTTON name="tlLoadData" onclick="Call LoadDataset" image="load.bmp" />
<TOOLBUTTON name="tlAddData" onclick="Call AddData" image="add.bmp" />
<TOOLBUTTON name="tlUpdateData" onclick="Call UpdateAttributes" image="update.bmp" />
</TOOLBAR>
</TOOLBARS>
<STATUSBAR visible="true" scale="false" units="true" />
</CONFIG>
<SCRIPT src="ArcPad.vbs" />
</ArcPad>
|
Restrictions
The APPLICATION child element cannot be used in layer definition files (*.apl).
Source
<xs:element name="SYSTEMOBJECTS" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType>
<xs:sequence>
<xs:element ref="APPLICATION" />
<xs:element ref="AUX" />
<xs:element name="GPS">
<xs:complexType>
<xs:attribute ref="onaveragestart" />
<xs:attribute ref="onaveragestop" />
<xs:attribute ref="onclose" />
<xs:attribute ref="onexevent" />
<xs:attribute ref="onopen" />
<xs:attribute ref="onposition" />
<xs:attribute ref="onsentence" />
</xs:complexType>
</xs:element>
<xs:element name="MAP">
<xs:complexType>
<xs:attribute ref="onafterdraw" />
<xs:attribute ref="onafterlayerdraw" />
<xs:attribute ref="onbeforedraw" />
<xs:attribute ref="onbeforelayerdraw" />
<xs:attribute ref="onclose" />
<xs:attribute ref="ondrawingcancelled" />
<xs:attribute ref="onfeatureadded" />
<xs:attribute ref="onfeaturechanged" />
<xs:attribute ref="onfeaturedeleted" />
<xs:attribute ref="onfeaturegeometrychanged" />
<xs:attribute ref="onidentify" />
<xs:attribute ref="onnew" />
<xs:attribute ref="onopen" />
<xs:attribute ref="onpointerdown" />
<xs:attribute ref="onpointermodechanged" />
<xs:attribute ref="onpointermove" />
<xs:attribute ref="onpointerup" />
<xs:attribute ref="onsave" />
<xs:attribute ref="onselectionchanged" />
</xs:complexType>
</xs:element>
<xs:element ref="NAVIGATION" />
<xs:element name="RANGEFINDER">
<xs:complexType>
<xs:attribute ref="onclose" />
<xs:attribute ref="onexevent" />
<xs:attribute ref="onmeasurement" />
<xs:attribute ref="onopen" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
|
See Also