Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: Art Lieberman
  Where is Art Lieberman?
 Raleigh
 North Carolina - United States
 Art Lieberman
 To: tushar Kanvinde
  Where is tushar Kanvinde?
 Kolhapur, Maharastra
 India
 tushar Kanvinde
Subject: RE: cannot close window
Thread ID: 172101 Message ID: 172559 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Forms
Date: Thursday, May 8, 2008 11:07:26 PM         
   



> >
> > -------------------------
> >
> > I have the following statement in my main.prg:
> >
> > public loForm as object
> > 

> > Please keep in mind that 4 forms are being closed. Only 1 of them fails (the one that is "on top") regardless of what order I close them. If there were a problem with loForm, it would happen for each of the 4 forms. (I tried your changes, anyway, just to be sure, but it didn't fix the problem.)
> >
> > Thank you, Art
> > -------------------------
>
> Art
>
> I think you should be doing loForm.Release instead of loForm.QueryUnload.
>
> > public loForm as object
>
> You are using a local variable naming convention for a public variable.
>
> Regards
> Tushar

Yes, I had code in QueryUnload, which in turned called Release. I have moved all of that into Release. (This has had no effect on the problem.)
Art

ENTIRE THREAD

cannot close window Posted by Art Lieberman @ 5/7/2008 4:04:04 PM
RE: cannot close window Posted by Eric den Doop @ 5/7/2008 4:13:01 PM
RE: cannot close window Posted by Eric den Doop @ 5/7/2008 4:14:28 PM
RE: cannot close window Posted by Art Lieberman @ 5/7/2008 4:23:36 PM
RE: cannot close window Posted by Borislav Borissov @ 5/7/2008 5:52:34 PM
RE: cannot close window Posted by Art Lieberman @ 5/7/2008 7:54:21 PM
RE: cannot close window Posted by Eric den Doop @ 5/7/2008 8:01:21 PM
RE: cannot close window Posted by Art Lieberman @ 5/9/2008 4:30:22 PM
RE: cannot close window Posted by Barbara Peisch @ 5/7/2008 10:06:29 PM
RE: cannot close window Posted by Art Lieberman @ 5/8/2008 3:39:48 PM
RE: cannot close window Posted by tushar @ 5/8/2008 6:53:00 PM
RE: cannot close window Posted by Art Lieberman @ 5/8/2008 8:02:34 PM
RE: cannot close window Posted by tushar @ 5/8/2008 9:40:21 PM
RE: cannot close window Posted by Art Lieberman @ 5/8/2008 11:07:26 PM
RE: cannot close window Posted by Tamar Granor @ 5/8/2008 10:39:42 PM
RE: cannot close window Posted by Art Lieberman @ 5/9/2008 4:33:02 PM
RE: cannot close window Posted by Art Lieberman @ 5/9/2008 4:34:38 PM
RE: cannot close window Posted by Art Lieberman @ 5/9/2008 11:00:14 PM
RE: cannot close window Posted by Samir Ibrahim @ 5/8/2008 4:08:39 PM
RE: cannot close window Posted by Art Lieberman @ 5/8/2008 6:12:27 PM
RE: cannot close window Posted by Samir Ibrahim @ 5/10/2008 8:23:15 AM