> >
> > Hi Koen, Hi Gene,
> >
> > I already tried this today, but tried again. In my main.prg I call my form
> >
> >
DO FORM MainForm m.goMainwindow
> > READ EVENTS
> >
> > In my procedure close_program I tried
> >
> >
goMainwindow.release>/vfp>
> >
> > The error "GOMAINWINDOW is not an object" remains as with my previous testing.
> >
> > My mainform is a top-level form; I also use a FPW file with:
> >
> > RESOURCE = OFF
> > SCREEN = OFF
> >
> > Which properties could cause this?
> >
> > Regards, Gerrit
>
> MainForm should exit with a CLEAR EVENTS command, not through .Release() method. If a form is released and there is an association with a variable, the variable is set to NULL, and therefore not considered as an object.
Hi Antonio,
That makes sense. I cannot try this right now, but I will do this early next week.
First we watch the Eurocup football final with Portugal...
Regards, Gerrit