Index Property (AStatusBarPane)

Returns the index used to identify the object.

Syntax

 [ lIndex = ] Object.Index

The Index property syntax has the following parts:

 

Name

Type

Description

Object

AStatusBarPane

AStatusBarPane object

lIndex

Long

An integer specifying the index used to identify the object.

Comments

The Index property is set by default to the order of the creation of objects in a collection. The index for the first object in a collection will always be zero (0).

The value of the Index property of an object can change when objects in the collection are reordered, such as when you insert a new object. If you expect the Index property to change dynamically, it may be more useful to refer to objects in a collection by using the Name property.

Example

The following statement inserts a new AStatusBarPane object before the specified pane identified by Index:

sbr1.InsertPane(sbrp1.Index)

Applies to

AStatusBarPane

See Also

Alignment, Picture, Style