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;