Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: George Kelly
  Where is George Kelly?
 Dromore
 United Kingdom
 George Kelly
 To: Khurram Tahir
  Where is Khurram Tahir?
 Karachi
 Pakistan
 Khurram Tahir
 Tags
Subject: RE: QueryUnLoad() Not Run on Release()
Thread ID: 310915 Message ID: 310949 # Views: 36 # Ratings: 1
Version: Visual FoxPro 9 Category: Forms
Date: Monday, June 27, 2011 12:36:01 PM         
   


> From Help i come to know the following
>
> The QueryUnload event does not occur if you issue the RELEASE command on the form in code or invoke the form's Release method.
>
>
> Forms Closing through Exit command button and form closeable property set to .F. what is the best alternative of QueryUnload()method of form in that case
>
> one thing is that putting thisform.Queryunload() before thisform.release() in all forms any other option

Try putting you code into the Destroy event.

George

ENTIRE THREAD

QueryUnLoad() Not Run on Release() Posted by Khurram Tahir @ 6/27/2011 9:18:47 AM
RE: QueryUnLoad() Not Run on Release() Posted by Stefan Wuebbe @ 6/27/2011 11:50:37 AM
RE: QueryUnLoad() Not Run on Release() Posted by George Kelly @ 6/27/2011 12:36:01 PM