2.12.5 Writing the Menu Events

You write the logic for the menu items in their Click event. For example, to make the Exit menu option close the application, you would write this code:

EVTROUTINE HANDLING(#MITM_10.Click)

     exit

ENDROUTINE