ArcPad Scripting Object Model
Item Method
See Also  Send comments on this topic.
Index
Required. A Variant that specifies the name or index of the toolitem.
ToolBars Collection : Item Method

Glossary Item Box

Description

Returns the specified applet object.

Syntax

Set variable = object.Item ( Index )

Parameters

Index
Required. A Variant that specifies the name or index of the toolitem.

Return Type

Remarks

Index is a variant specifying the toolbar to reference. It can be either the index or the name of the toolbar. For example, if your ArcPad application contains a toolbar named "MyToolBar" that has an index of 2, the following two lines of code will yield the same result:

       Set theToolBar = Application.ToolBars.Item(2)
       Set theToolBar = Application.ToolBars.Item("MyToolBar")
  
The Item method is the default method for the ToolBars collection. Therefore, the following two lines of code will yield the same result:

       Set theToolBar = Application.ToolBars.Item("MyToolBar")
       Set theToolBar = Application.ToolBars("MyToolBar")
  

See Also

© 2013 All Rights Reserved.