Visual Basic Concepts
A menu control array is a set of menu items on the same menu that share the same name and event procedures. Use a menu control array to:
Each menu control array element is identified by a unique index value, indicated in the Index property box on the Menu Editor. When a member of a control array recognizes an event, Visual Basic passes its Index property value to the event procedure as an additional argument. Your event procedure must include code to check the value of the Index property, so you can determine which control you're using.
For More Information For more information on control arrays, see "Working with Control Arrays" in "Using Visual Basic's Standard Controls."
To create a menu control array in the Menu Editor
or
Click the Menu Editor button on the toolbar.
The menu title text is displayed in the menu control list box.
Important Elements of a menu control array must be contiguous in the menu control list box and must be at the same level of indentation. When you're creating menu control arrays, be sure to include any separator bars that appear on the menu.