advr.hlp (Topic list)
Index Property Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 [form.]ctlname[(arrayindex%)].Index
 
 Usage Notes
   ■ Since control array elements share the same CtlName, you must use the
     Index property in code to refer to a particular control in the array.
     The index must appear as a number in parentheses next to the control
     array name. For example:
 
         MyButton(3)
 
   ■ When a control in the array recognizes that an event has occurred,
     Visual Basic calls the array's event procedure and passes the applicable
     index as an additional argument.
 
   ■ Use Index when you are creating controls dynamically at run time with
     the LOAD statement, or removing them with the UNLOAD statement.
 
   ■ When you create a new element of a control array using the LOAD
     statement, the next available index is used. See: LOAD Statement
 
   ■ To remove a control from a control array, change the control's CtlName
     property, or use the UNLOAD statement. See: UNLOAD Statement
 
 See: Creating a Control Array