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

Glossary Item Box

Description

Used to define an UpDown control in a form.

Diagram

UPDOWN Element

Overview

UPDOWN
Used to define an UpDown control in a form.
height required xs:int
The height of the control.
width required xs:int
The width of the control.
x required xs:int
The x coordinate of the upper left corner of the control.
y required xs:int
The y coordinate of the upper left corner of the control
alignment optional Restriction of xs:string
The alignment of the control with respect to its buddy control.
border optional Restriction of xs:string
Specifies whether the control has a border.
buddy optional xs:string
The Edit control that is associated with the Slider control.
group optional Restriction of xs:string
Specifies whether the control starts a new group of controls.
lower optional xs:int
The minimum number in the range of the control.
name optional xs:string
Name of the UpDown control. Used to reference the control in scripts.
orientation optional Restriction of xs:string
The alignment of the control with respect to its buddy control.
upper optional xs:int
The maximum number in the range of the control.

Attributes

NameTypeUseDefaultFixedDescription
heightxs:intrequired  The height of the control.
widthxs:intrequired  The width of the control.
xxs:intrequired  The x coordinate of the upper left corner of the control.
yxs:intrequired  The y coordinate of the upper left corner of the control
alignmentRestriction of xs:stringoptionalleft The alignment of the control with respect to its buddy control.
borderRestriction of xs:stringoptionalfalse Specifies whether the control has a border.
buddyxs:stringoptional  The Edit control that is associated with the Slider control.
groupRestriction of xs:stringoptionalfalse Specifies whether the control starts a new group of controls.
lowerxs:intoptional  The minimum number in the range of the control.
namexs:stringoptional  Name of the UpDown control. Used to reference the control in scripts.
orientationRestriction of xs:stringoptionalvert The alignment of the control with respect to its buddy control.
upperxs:intoptional  The maximum number in the range of the control.

Examples

ArcPad layer file (*.apl) with an edit form.

Source

<xs:element name="UPDOWN" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to define an UpDown control in a form.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute use="required" name="height" type="xs:int">
      <xs:annotation>
        <xs:documentation>The height of the control.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute use="required" name="width" type="xs:int">
      <xs:annotation>
        <xs:documentation>The width of the control.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="x" type="xs:int" use="required">
      <xs:annotation>
        <xs:documentation>The x coordinate of the upper left corner of the control.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="y" type="xs:int" use="required">
      <xs:annotation>
        <xs:documentation>The y coordinate of the upper left corner of the control</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="left" name="alignment">
      <xs:annotation>
        <xs:documentation>The alignment of the control with respect to its buddy control.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="left" />
          <xs:enumeration value="center" />
          <xs:enumeration value="right" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="false" name="border">
      <xs:annotation>
        <xs:documentation>Specifies whether the control has a border.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="buddy" type="xs:string">
      <xs:annotation>
        <xs:documentation>The Edit control that is associated with the Slider control.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="false" name="group">
      <xs:annotation>
        <xs:documentation>Specifies whether the control starts a new group of controls.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="" />
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="lower" type="xs:int">
      <xs:annotation>
        <xs:documentation>The minimum number in the range of the control.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="name" type="xs:string">
      <xs:annotation>
        <xs:documentation>Name of the UpDown control. Used to reference the control in scripts.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="vert" name="orientation">
      <xs:annotation>
        <xs:documentation>The alignment of the control with respect to its buddy control.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="horiz" />
          <xs:enumeration value="vert" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="upper" type="xs:int">
      <xs:annotation>
        <xs:documentation>The maximum number in the range of the control.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.