|
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| 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. |
| |||
| This event is triggered when a menu option is selected. Because some menus might not lead to submenus, the Menu control recognizes the Select event, which is triggered only when the user clicks a Menu control without a submenu. |
![]() |
| Thread Tools | |
| Display Modes | |
| |