Skip to Content
Former Member
Aug 01, 2009 at 03:27 AM

pop up window closing problem when i have two popup window opened



I have the following scenario.

When i click a button in screen, a pop window (popup window1) will open.

In this popupwindow1 i click on a button 'YES' another popup window (popup window2) will open.

Now when i click the button 'DELETE' in popup window2, i do some action and then i have to close this window.

So i write the following code for closing the popup window2 in the button 'DELETE'.

lo_api = wd_this->wd_get_api( ).

lo_window_ctlr = lo_api->get_embedding_window_ctlr( ).

lo_window = lo_window_ctlr->get_window( ).

lo_window->close( ).

But after this the popupwindow1 is still open. - How to resolve this issue?

If i put the same code in the button 'YES' of popupwindow1, the popupwindow1 is closing on clicking 'YES' but popup window2 is not opening.

Thanks a lot