Configuration Schema
SYSTEMOBJECTS Element
See Also  Send comments on this topic.
Configuration Schema : SYSTEMOBJECTS Element

Glossary Item Box

Description

Used to associate scripts with ArcPad system object events. Used in applet (*.apa) files, default configuration (ArcPad.apx) files, and layer definitions to associate scripts with ArcPad system object events.

Diagram

RANGEFINDER Element NAVIGATION Element MAP Element GPS Element AUX Element APPLICATION Element Sequence SYSTEMOBJECTS Element

Overview

SYSTEMOBJECTS
Used to associate scripts with ArcPad system object events. 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
Used to specify script subroutines to call when AUX events occur. 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.Used to specify GPS preferences and script subroutines to call when GPS events occur.
MAP
Used to specify scripts to call when Map object events occur. When parent element is SYSTEMOBJECTS, MAP is used to specify scripts to call when Map object events occur.
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.Used to specify Rangefinder preferences and script subroutines to call when Rangefinder events occur.

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:annotation>
    <xs:documentation>Used to associate scripts with ArcPad system object events.
</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="con:APPLICATION" />
      <xs:element ref="con:AUX" />
      <xs:element ref="con:GPS" />
      <xs:element ref="con:MAP" />
      <xs:element ref="con:NAVIGATION" />
      <xs:element ref="con:RANGEFINDER" />
    </xs:sequence>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.