aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes parent-child window relationship Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "parent-child window relationship" Watch "parent-child window relationship" New topic
Author

parent-child window relationship

jyothsna kumari
Ranch Hand

Joined: Jul 21, 2003
Posts: 108
Hi All,

The problem is....
I have a parent window from which i open a child window.This child window has got a name.So i am able to close the child window when the parent window gets closed.
Now my problem is when i traverse to second window from parent window after opening a child window and here if i try to close the parent window i am not able to close the child window by accessing it through its name as the relation is lost.

Can anybody suggest me any way by which i can close my child window when parent window is closed.

Thanks,
Jyothsna
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Some people will put a function on the child window that checks to make sure that the parent is still there and set it on an interval.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: parent-child window relationship