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

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 2014-03-14 12:20 +0100
Message-ID <bog735FngmiU1@mid.individual.net> (permalink)
References <62d5694a-d498-488c-94ff-d6ed725e3803@googlegroups.com> <lfspdn$da5$3@speranza.aioe.org>

Show all headers | 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