Applet Schema
APPLET Element
See Also  Send comments on this topic.
Applet Schema : APPLET Element

Glossary Item Box

Description

Used to define ArcPad applets.

Diagram

TOOLBARS Element SYSTEMOBJECTS Element FORMS Element Sequence APPLET Element

Overview

APPLET
Used to define ArcPad applets.
name optional xs:string
Name of the applet. Used to reference the applet in scripts.
onload optional
Specify the script to run when this event occurs.
Sequence
FORMS
The parent element for defining an ArcPad form.
SYSTEMOBJECTS
Used to associate scripts with ArcPad system object events.
TOOLBARS
The parent element for all ArcPad toolbars.

Attributes

NameTypeUseDefaultFixedDescription
namexs:stringoptional  Name of the applet. Used to reference the applet in scripts.
onload optional  Specify the script to run when this event occurs.

Remarks

Although none of the child elements are required, an applet must contain at least one of these elements to perform any tasks.

Examples

Source

<xs:element name="APPLET" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to define ArcPad applets.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="apa:FORMS" />
      <xs:element ref="apa:SYSTEMOBJECTS" />
      <xs:element ref="apa:TOOLBARS" />
    </xs:sequence>
    <xs:attribute name="name" type="xs:string">
      <xs:annotation>
        <xs:documentation>Name of the applet. Used to reference the applet in scripts.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onload">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.