index

Type: Integer

Availability: Read-only at run time only

The index property for control and menu items is used only when controls are cloned by using the loadControl method. The index property of controls created in the JADE development environment is set to zero (0).

The user passes the value of this property to the method and it is stored with the control properties. It can then be used as an identifier to differentiate between the control copies that all have the same name.

Most commonly, you would assign the index values sequentially, using them like indexes.