ArcPad Scripting Object Model
ExecuteCommand Method
See Also  Send comments on this topic.
Command
Required. A String that contains the command to execute.
Application Object : ExecuteCommand Method

Glossary Item Box

Description

Executes the specified internal tool button command.

Syntax

object.ExecuteCommand ( Command )

Parameters

Command
Required. A String that contains the command to execute.

Remarks

The ExecuteCommand method allows you to execute internal tool button commands from scripts and custom tool buttons. For example, the following code causes the Layers dialog box to be displayed:

       Application.ExecuteCommand ("layers")
  
For a list of all the valid commands, see the Internal Command Names topic.

See Also

© 2012 All Rights Reserved.