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.
|
A configuration file (ArcPad.apx):
<?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>
- The APPLICATION child element cannot be used in layer definition files (*.apl).
|