Joe Yoder wrote: > Here is the main program: > DO FORM form1.scx > READ events > CLEAR events > QUIT > > form1 has a Quit button with "Thisform.release" in the click event. > > What do i need to do to have the code exit cleanly? > > TIA - Joe > > Move CLEAR EVENTS out of your main program, and place it in the forms Destroy() method. You might also want to call the form with a NAME, so that if you have further problems, you can examine the object:
DO FORM Form1 NAME Form1 READ EVENTS (in form Destroy()) CLEAR EVENTS _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

