I have a form with a close button. Under the click method is:
thisform.release
and in the destroy event I have a CLEAR EVENTS
which should return control back the the main (calling program) and exit the program. But it only closes the form but for some reason does not clear the READ EVENTS and therefore does not close my program. The form is CLOSEABLE but that does not work either.
Any ideas? Thanks! Marvin