INDEX attribute

The subscript value of the array element referenced by the current widget.

Data type: INTEGER

Access: Read-only

Applies to: BROWSE widget (column and cell), COMBO-BOX widget, FILL-IN widget, TEXT widget, TOGGLE-BOX widget

If the widget references a field or variable with no extents (that is, not as an array element), this attribute returns 0.