Peter,
Look at the QueryUnload() event as this happens immediately before the
Destroy() event but after all tables have been closed.

Dave Crozier


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Peter Cushing
Sent: 23 January 2008 14:38
To: [email protected]
Subject: Re: Exit application on way out of form

Dave Crozier wrote:
> Also:
>
> http://fox.wikis.com/wc.dll?Wiki~AppShutDown
>
>   
Hi Dave,

Just had a glance at some of the code and they seem to be procedures to 
use when you have clicked on something to exit your application.  I'm 
looking to run the same sort of procedure after a form has closed.  If 
you put the call in the unload event, it has not fully closed yet, and I 
wanted to see if I can do it after the form has closed.  The trouble is 
that you then return to READ EVENTS and not sure what I can do from there.

What I'm doing is using my app as a barcode application that will 
automatically load a certain form on entry (which I have done 
successfully) but want to exit when they close the form.

What I meant by "Graceful" was closing tables, releasing memory etc 
before quitting.

Cheers

Peter



[excessive quoting removed by server]

_______________________________________________
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.

Reply via email to