ActiveField™ Help    

Main QuickField Site  

Free Downloads  

Contacts  

ActiveField Technology
What's New
Objects Overview
Hierarchy Chart
How to Start: Application Object
How to work with Problems
How to work with Model
How to work with Data
How to Analyze Results

Objects

Properties

Methods

Parametric Simulation Samples

Item Method

Item Method

                          

Summary

Returns a specific member of a collection object either by number or name.

Syntax

Windows.Item (
   index As Variant                     '
) As Window
Documents.Item (
   index As Variant                     '
) As IDocument
Columns.Item (
  [index As Long],                      '
  [Quantity As QfQuantity]              '
) As TableColumn
Rows.Item (
   index As Variant                     '
) As TableRow
TimePlotPoints.Item (
   index As Variant                     '
) As TimePlotPoint
Object.Item (
   index As Variant                     '
) As Shape
Labels.Item (
   index As Variant                     '
) As Label
Links.Item (
   index As Variant                     '
) As Link
Spline.Item (
   index As Variant                     '
) As Point

Parameters

index
[in, optional] Variant
index
[in, optional] Long
Quantity
[in, optional] QfQuantity

Remarks

The index parameter specifies the desired item in a collection in a way that depends upon the nature of the collection.

In any case, the index parameter can be a serial number of desired item, starting from one. Some collection, like Columns and Rows have a natural items order, other collection keeps the order that the items were created. There are also such collection, like Shapes and ShapeRange, that the order of items is unpredictable.

If the member of collection has its own name (generally accessible by the Name property), it can be used as an index for choosing the desired item.

The TableColumn object in a Columns collection can be accessed using either its number or associated physical Quantity.

If the index parameter is omitted, the very first collection element will be returned.