• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

parent-child window relationship

 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic