The Menu control has an ItemCount property that returns the number of items The Menu control has an ItemCount property that returns the number of items in the control, as well as a Caption property that sets the menu's title. The index of the selected item is reported back to the program from within the control's Click event handler. |