English

How To: Turn off the default toolbars on Windows CE devices

Summary

On some Windows CE devices problems can occur when hiding the Main toolbar in a ArcPad.apx which is the default configuration file. For example, in the following in ArcPad.apx, none of the toolbars may be created correctly:

Code:
<TOOLBAR name="main" visible="false" />


Procedure

A work-around for this issue is to not create any built-in toolbars.

  1. Add the 'create' attribute to the TOOLBAR elements and set its value to false. This must be done to all three built-in toolbars.

    Code:
    <TOOLBAR name="main" visible="false" create="false"/>
    <TOOLBAR name="browse" visible="false" create="false"/>
    <TOOLBAR name="draw" visible="false" create="false"/>

  2. Create one or more custom toolbars to replace the built-in toolbars set its value to true.

    Code:
    <TOOLBAR name="tlbSamples" caption="Samples" visible="true">
    <TOOLBUTTON image="sigma.bmp" onclick="call LoadForm"/>
    </TOOLBAR>