Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Urs Eggmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: How to receive a return value from a closed data window Date: Thu, 13 Mar 2014 21:08:00 +0100 Lines: 39 Message-ID: References: <62d5694a-d498-488c-94ff-d6ed725e3803@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Trace: individual.net 1ypeiNH8Sr2sRkrj6B1GYw6XiauiUX7HSr47532jnf5DWB6wdN Cancel-Lock: sha1:lwy52ixpvpAsE458h+rJQjzlaVo= X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-EsetId: 37303A2992966C65617666 X-EsetScannerBuild: 17435 Xref: csiph.com comp.lang.clipper.visual-objects:6667 Hi Krystian, FUNCTION ShowArray (aTest, cName) Is a function in the "Terminal lite" Library of VO and is documented in the help file. (Function Reference - section Debug) (See also Karl's answer) Regards Urs "Krystian Besler" schrieb im Newsbeitrag news:62d5694a-d498-488c-94ff-d6ed725e3803@googlegroups.com... > Hi, > > 1. > Let me describe the problem : > i open a first DataWindow : dtwnd{self,,,}; > from a menu of the dtwnd i open the next wnd2 := dtwnd2{self:owner,...} > and save the object wnd2 in an array declared as protect item of class > dtwnd; in this way i may open many such windows (wnd3...) and store them > in that array. > My problem is, how to react for closing, for example wnd2 and remove it > from the array. Which method of dtwnd "notices" the fact of closing the > child window wnd* ?I need this mechanism for automatic closing all the sub > windows. > > 2. Why i must use "self:owner" instead of separate "self" in > dtwnd*{self:owner ? > Simple "self" solves the problem, but it does not work in next sub > windows. > > To Urs; > How do you find the ShowArray function ? it is not listed in alphabetical > and category breakdown. > > Thanks in advance > Krystian