# Closing cascaded pop-up windows

**URL:** <https://techcommunity.softwareag.com/t/closing-cascaded-pop-up-windows/92731>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, Natural-for-AJAX, Natural-on-Windows-Unix\
**Created:** [February 11, 2010, 7:20pm UTC](https://techcommunity.softwareag.com/t/closing-cascaded-pop-up-windows/92731 "2010-02-11T19:20:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas\_Schwade](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/thomas_schwade/32/131_2.png) [@Thomas\_Schwade](https://techcommunity.softwareag.com/u/Thomas_Schwade)\
**Post date:** [February 11, 2010, 7:20pm UTC](https://techcommunity.softwareag.com/t/closing-cascaded-pop-up-windows/92731/1 "2010-02-11T19:20:06Z")

</div>

In some cases it is required to close a nested chain of pop-up windows in one step. An example ho to achieve this is attached. The principal idea is to define an onCloseAll event, which is either raised by a button (in the example this is done in the top level pop-up) or raised by a timer (in the example this is done in the lower level pop-up). This technique can be used to cascade the close event along a nested chain of pop-up windows.  
[P321944.zip](https://techcommunity.softwareag.com/uploads/short-url/41tNSMUMejexEVNmFzMnFZQnNjn.zip) (8.58 KB)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:58pm UTC](https://techcommunity.softwareag.com/t/closing-cascaded-pop-up-windows/92731/2 "2021-04-02T14:58:01Z")

</div>


