Select to view content in your preferred language

ArcPad QuickAction toolbutton

636
1
07-07-2011 02:49 PM
ChrisSeabrooke
Deactivated User
ArcPad 8 and 10 display the ArcPad QuickAction toolbutton, which has a menu that includes an Exit command. I need to disable the QuickAction tool button or, if possible, the Exit menu item in a VBScript applet. I'm disabling other ArcPad toolbars in the applet using the following code:
Application.Toolbars("Main").Visible = False

I tried to disable the QuickAction tool button with the followingline but it threw a script error:
Application.ToolItem("QuickAction").Enabled=False

Is it possible to disable the QuickAction toolbutton in VBScript? Can it be done for both ArcPad 8 and 10?
Tags (3)
0 Kudos
1 Reply
RolfBroch
Frequent Contributor
I think that you can edit your ArcPad.apx file and delete what you do not want. That is delete the whole toolbutton or delete individual toolitems.

      <TOOLBUTTON command="quickaction">
        <MENUITEM command="new"/>
        <MENUITEM command="openmap"/>
        <MENUITEM command="addlayer"/>
        <SEPARATOR/>
        <MENUITEM command="mapproperties"/>
        <SEPARATOR/>
        <MENUITEM command="recentfiles"/>
        <MENUITEM command="recentlayers"/>
        <SEPARATOR/>
        <MENUITEM command="help"/>
        <MENUITEM command="about"/>
        <SEPARATOR/>
        <MENUITEM command="exit"/>
      </TOOLBUTTON>
0 Kudos