| ON MENUStatement
 Syntax
 DescriptionThis statement designates a particular function or subroutine as a menu-event handling routine. A menu-event handling routine is called in response to the user selecting an item from a menu. This includes menu items that your program puts into menus on the menu bar, but it doesn't include items in pop-up menus; see the  When the user clicks on the menu bar, FB does not open up the menu immediately. Instead, your program continues executing until a  Note: See AlsoHANDLEEVENTS;  |