Article View: borland.public.vdbase.forms
Article #146Re: Question on closing forms
From: Juergen Koethnig
Date: Wed, 03 Mar 1999 00:00
Date: Wed, 03 Mar 1999 00:00
44 lines
1712 bytes
1712 bytes
Hi I found the solution myself. Sometimes you just look the wrong way :-) Last night I remebered, that Ken had written something about forms talking to forms. I adapted his example to my problem and it works. So sorry, if I made you spend hours trying to help me. On Tue, 02 Mar 1999 21:32:21 GMT, ddschulenospam@cityweb.de (Juergen Koethnig) wrote: >Hi > >I thought I kind of understand, but no, I still run into problems. I >do have a form called form1. By pushing a button a second form is >opened, lets say form2. Both forms are opened the following way > >set procedure to formX.wfm additive >mformX=new formXForm() >mformX.open() > >X being either 1 or 2. > >Now I have two buttons in form2, either just to close form2 and thus >being back at form1 by saying >mform2.close() > >or the other button, that I want to use to close both forms at the >same time as I want to close the whole procedure. So I said >mform2.close() >mform1.close() >but I get the message 'mform1' not defined. > >Where is my wrong thinking? > > >Juergen > >Please remove 'nospam' from reply to when answering by email. > Juergen Please remove 'nospam' from reply to when answering by email.
Technical Details
Message-ID:
<36dcd40a.1002254@forums.inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36dc5512.1676737@forums.inprise.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 15bdfb,6ae0cf95b6dd1b10 X-Google-Attributes: gid15bdfb,public From: ddschulenospam@cityweb.de (Juergen Koethnig) Subject: Re: Question on closing forms Date: 1999/03/03 Message-ID: <36dcd40a.1002254@forums.inprise.com> X-Deja-AN: 450659496 References: <36dc5512.1676737@forums.inprise.com> Organization: Another Netscape Collabra Server User Reply-To: ddschulenospam@cityweb.de Newsgroups: borland.public.vdbase.forms