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

Glossary Item Box

Description

The parent element for all ArcPad toolbars.The pareent element for all ArcPad toolbars.

Diagram

MAPNAVIGATOR Element TOOLBAR Element Sequence TOOLBARS Element

Overview

TOOLBARS
The parent element for all ArcPad toolbars.The pareent element for all ArcPad toolbars.
Sequence
TOOLBAR 1..∞
Used to define a toolbar in an applet file (*.apa) or custom configuration file (ArcPad.apx).Used to define a toolbar in an applet file (*.apa) or custom configuration file (ArcPad.apx).
MAPNAVIGATOR
Used to specify tools to include and layout options for the Map Navigator.

Examples

Copy Code
<ArcPad>
      <CONFIG>
            <TOOLBARS>
                  <TOOLBAR name="main" visible="true"/>
                        <MENUITEM command="new"/>
                              <SEPARATOR/>
                              <MENUITEM command="openmap"/>
                              <MENUITEM command="savemap"/>
                              <MENUITEM command="savemapas"/>
                              <SEPARATOR/>
                              <MENUITEM command="mapproperties"/>
                              <SEPARATOR/>
                              <MENUITEM command="recentfiles"/>
                              <MENUITEM command="recentlayers"/>
                              <SEPARATOR/>
                              <MENUITEM command="exit"/>
                        </TOOLBUTTON>
                  </TOOLBAR>
                  <TOOLBAR name="tlbCustomToolBar1" caption="Tools" visible="true" image="">
                        <TOOLBUTTON name="tlAddPole" shortcut="" image="Street_Light.ico" onpointerdown="Call AddPole" tooltip="Add Pole" prompt="Add a new pole to the Poles layer"/>
                  </TOOLBAR>
            </TOOLBARS>
      </CONFIG>
      <SCRIPT src="ArcPad.vbs" language="vbscript"/>
</ArcPad>

Source

<xs:element name="TOOLBARS" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>The parent element for all ArcPad toolbars.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="con:TOOLBAR"></xs:element>
      <xs:element maxOccurs="1" ref="con:MAPNAVIGATOR" />
    </xs:sequence>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.