Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #6669

Re: How to receive a return value from a closed data window

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Urs Eggmann" <Urs.Eggmann@shinternet.ch>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: How to receive a return value from a closed data window
Date Fri, 14 Mar 2014 12:20:41 +0100
Lines 46
Message-ID <bog735FngmiU1@mid.individual.net> (permalink)
References <62d5694a-d498-488c-94ff-d6ed725e3803@googlegroups.com> <lfspdn$da5$3@speranza.aioe.org>
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="iso-8859-1"; reply-type=response
Content-Transfer-Encoding 7bit
X-Trace individual.net DEvxGAHLIbRXpCJG9pQxHgPvB3WWvdZl0Y4TCnlTl/l0Ilhels
Cancel-Lock sha1:IKrjXDxeHiedi6CiWZuc+leHfiY=
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 37303A2992966C65617162
X-EsetScannerBuild 17441
Xref csiph.com comp.lang.clipper.visual-objects:6669

Show key headers only | View raw


Hi All,
Krystian had some trouble with posting. He asked me to post the message 
below:
regards
Urs
*********************************************
Hi All,

Thanks for replay.
The solution suggested by Massimo (with the global array) seems to me as
not the objective approach. I do not believe, that there is no method
which can "notice" that a child window was closed. Maybe later, when I
better get to know this tool ...
I tested also the Destroy method, but still the object describing the
window was "alive". I looked for a flag in the structure of the window
showing, that this window is already closed. But I did not found.
Currently I test the caption property for empty and do not run the
QueryClose method yet again. When the user closes the window, I clear
the caption - and now it works OK.

Thanks once again for your time and advice

Krystian Besler


"Massimo Bighelli" <info@arcasistemi.it> schrieb im Newsbeitrag 
news:lfspdn$da5$3@speranza.aioe.org...
>
> Krystian,
>
> you have to have access to owner's array of object
> in the close method of the dtwnd2 cancel the item related
> or
> (and this is what I do because I'm interested only in closing all the 
> "child" of dtwnd when I close dtwnd)
> manage a global array of object with both the owner and the child
> write n.2 simple methods (of the shell in my case...) to add and remove 
> items
> closing dtwnd means close all dtwnd's childs (those with dtwnd as owner) 
> if they exist as object...
>
> HTH
>
> *Massimo Bighelli* ARCA Sistemi S.r.l.
> 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to receive a return value from a closed data window Krystian Besler <krystian.besler@gmail.com> - 2014-03-13 09:10 -0700
  Re: How to receive a return value from a closed data window Massimo Bighelli <info@arcasistemi.it> - 2014-03-13 18:21 +0100
    Re: How to receive a return value from a closed data window "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2014-03-14 12:20 +0100
  Re: How to receive a return value from a closed data window Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2014-03-13 18:37 +0100
    Re: How to receive a return value from a closed data window Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2014-03-13 18:38 +0100
  Re: How to receive a return value from a closed data window "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2014-03-13 21:08 +0100

csiph-web