14. Creating a Frame at Runtime : How You Can Build a Frame Dynamically : Close Menu Item
 
Share this page                  
Close Menu Item
In addition to the File menu option, the DynamicFrame application's starting frame has a Close menu option. The event code for the Close menu item contains only the return statement to terminate the application. The following code is the complete Close event block:
on click menu.file_menu.close_menu =
begin
    return;
end;