Description
Used to define an ImageBox control in a form.
Diagram
Overview
|
IMAGEBOX
Used to define an ImageBox control in a form.
|
height required xs:int
The height of the image box.
|
|
width required xs:int
The width of the image box.
|
|
x required xs:int
The x coordinate of the upper left corner of the image box.
|
|
y required xs:int
The y coordinate of the upper left corner of the image box
|
|
border optional Restriction of xs:string
Specifies whether the image box has a border.
|
|
clickaction optional Restriction of xs:string
The action taken when the user taps the image box.
|
|
defaultvalue optional xs:string
A simple expression that specifies the default value of the image box.
|
|
field optional xs:string
The field of the shapefile's DBF table that is linked to the image box.
|
|
group optional Restriction of xs:string
Specifies whether the image box starts a new group of controls.
|
|
name optional xs:string
Name of the ImageBox control. Used to reference the control in scripts.
|
|
onchange optional
Specify the script to run when this event occurs.
|
|
onclick optional
Specify the script to run when this event occurs.
|
|
readonly optional Restriction of xs:string
Specifies whether the image box's value can be modified by the user.
|
|
required optional Restriction of xs:string
Specifies if the user must select an image in the image box.
|
|
tabstop optional Restriction of xs:string
Specifies whether the TAB key can be used to move the focus to the image box.
|
|
Attributes
Name | Type | Use | Default | Fixed | Description |
height | xs:int | required | | | The height of the image box. |
width | xs:int | required | | | The width of the image box. |
x | xs:int | required | | | The x coordinate of the upper left corner of the image box. |
y | xs:int | required | | | The y coordinate of the upper left corner of the image box |
border | Restriction of xs:string | optional | false | | Specifies whether the image box has a border. |
clickaction | Restriction of xs:string | optional | auto | | The action taken when the user taps the image box. |
defaultvalue | xs:string | optional | | | A simple expression that specifies the default value of the image box. |
field | xs:string | optional | | | The field of the shapefile's DBF table that is linked to the image box. |
group | Restriction of xs:string | optional | | | Specifies whether the image box starts a new group of controls. |
name | xs:string | optional | | | Name of the ImageBox control. Used to reference the control in scripts. |
onchange | | optional | | | Specify the script to run when this event occurs. |
onclick | | optional | | | Specify the script to run when this event occurs. |
readonly | Restriction of xs:string | optional | false | | Specifies whether the image box's value can be modified by the user. |
required | Restriction of xs:string | optional | false | | Specifies if the user must select an image in the image box. |
tabstop | Restriction of xs:string | optional | true | | Specifies whether the TAB key can be used to move the focus to the image box. |
Examples
ArcPad layer file (*.apl) with an edit form.
Restrictions
The following attributes can only be used in edit and identify forms. They cannot be used in general forms:; field; required
Source
<xs:element name="IMAGEBOX" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation>Used to define an ImageBox 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 image box.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="required" name="width" type="xs:int">
<xs:annotation>
<xs:documentation>The width of the image box.</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 image box.</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 image box</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="border" default="false">
<xs:annotation>
<xs:documentation>Specifies whether the image box 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="clickaction" default="auto">
<xs:annotation>
<xs:documentation>The action taken when the user taps the image box.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="auto" />
<xs:enumeration value="camera" />
<xs:enumeration value="file" />
<xs:enumeration value="none" />
<xs:enumeration value="picture" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="defaultvalue" type="xs:string">
<xs:annotation>
<xs:documentation>A simple expression that specifies the default value of the image box.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="field" type="xs:string">
<xs:annotation>
<xs:documentation>The field of the shapefile's DBF table that is linked to the image box.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="group">
<xs:annotation>
<xs:documentation>Specifies whether the image box starts a new group of controls.</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="name" type="xs:string">
<xs:annotation>
<xs:documentation>Name of the ImageBox control. Used to reference the control in scripts.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="onchange">
<xs:annotation>
<xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="onclick">
<xs:annotation>
<xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="readonly" default="false">
<xs:annotation>
<xs:documentation>Specifies whether the image box's value can be modified by the user.</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="required" default="false">
<xs:annotation>
<xs:documentation>Specifies if the user must select an image in the image box.</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="tabstop" default="true">
<xs:annotation>
<xs:documentation>Specifies whether the TAB key can be used to move the focus to the image box.</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:complexType>
</xs:element>
|
See Also