Partially solved the problem: The quit statement will work if executed after all open files are closed using closedatabase, closefile, or revert. However, revert seems to work with simple files only. Is this a known bug?
A special hidden procedure …CloseDatabase in Pan 6 is triggered even when Quit command is selected from the Panorama menu. Does Pan X have a similar feature?
Also, it would be great if the ‘formCLOSE:’ form event procedure could function similarly to the ‘.CloseWindow’ procedure in Pan 6.