Article View: borland.public.delphi.winforms.controls.using
Article #1Re: one form influencing another
From: Brigitte Spatz
Date: Mon, 11 Sep 2006 08:58
Date: Mon, 11 Sep 2006 08:58
17 lines
2228 bytes
2228 bytes
Wayne Niddery [TeamB] wrote: > Brigitte Spatz wrote: >> I've tried adding Windows but then I get something really weird: the >> "Show" in Messagebox.Show isn't recongised any more... BTW, I'm using >> D2005, maybe things are better in 2006... > > My apologies, I didn't realize which group I was in - you're developing a > .Net app, so you *do not* want to add Windows to your uses clause, and my > custom message suggestion isn't really appropriate. > > Going back to your original post, you indicate an error message when you try > to call Close_All, How are you trying to call this? If it is a public method > of your main form then you should be able to call it. > I tried mgds.Ground.Close_All; where mgds is the unit, Ground is the class (Ground = class(System.Windows.Forms.Form)) and Close_All is a public method.
Technical Details
Message-ID:
<45052555$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<op.tfeh4mb0i0jcwv@acer> <44fd87b9$1@newsgroups.borland.com> <op.tfh5rltti0jcwv@acer> <45004696@newsgroups.borland.com> <op.tfipxmrti0jcwv@acer> <450186da$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,bdf5a6ead14cc213 X-Google-Attributes: gid1eff29,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 11 Sep 2006 10:58:55 +0200 From: Brigitte Spatz <brigitteNOSPAM.spatz@svenmahn.de> Organization: Sven Mahn IT-Systementwicklungen User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 Newsgroups: borland.public.delphi.winforms.controls.using Subject: Re: one form influencing another References: <op.tfeh4mb0i0jcwv@acer> <44fd87b9$1@newsgroups.borland.com> <op.tfh5rltti0jcwv@acer> <45004696@newsgroups.borland.com> <op.tfipxmrti0jcwv@acer> <450186da$1@newsgroups.borland.com> In-Reply-To: <450186da$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0636-3, 08/09/2006), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 217.189.152.146 Message-ID: <45052555$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1157965141 217.189.152.146 (11 Sep 2006 01:59:01 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail