🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.winforms.controls.using
Article #240

one form influencing another

#240
From: Brigitte Spatz
Date: Tue, 05 Sep 2006 10:30
11 lines
1477 bytes
When a certain event happens on one of my forms (non-MDI), I want  
something else to happen on the main form (which is an MDI parent and I  
want all children to close). How do I do this? (I know how to close all  
MDI children from the MDI parent but I don't know how to do this from  
another form. Simply calling the MDI parent's Close_All procedure gives an  
error message along the lines of "only allowed for class methods" but I  
can't make Close_All a class method as it needs to refer to itself.)

TIA.

Brigitte
Technical Details
Message-ID: <op.tfeh4mb0i0jcwv@acer>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,bdf5a6ead14cc213,start
X-Google-Attributes: gid1eff29,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 05 Sep 2006 12:30:07 +0200
Subject: one form influencing another
From: "Brigitte Spatz" <brigitte.NOSPAMspatz@svenmahn.de>
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
Newsgroups: borland.public.delphi.winforms.controls.using
Content-Transfer-Encoding: 7bit
Message-ID: <op.tfeh4mb0i0jcwv@acer>
User-Agent: Opera Mail/9.00 (Win32)
X-Antivirus: avast! (VPS 0635-5, 04/09/2006), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 217.189.154.81
X-Trace: newsgroups.borland.com 1157452222 217.189.154.81 (5 Sep 2006 03:30:22 -0700)
Lines: 11
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail