Skip to Content
0
Former Member
Apr 07, 2005 at 09:35 PM

Closing a Application Window

18 Views

Hi,

I have been searching this forum, but have not been able to locate an answer to this problem, close ones, but not ones that I have had work.

I want to close a window using a button. I have tried javascript and it has not worked, and many different ways. What I have done now is done an onClick event that goes to DO_HANDLE_EVENT and calls my method ON_CLOSE. Within the ON_CLOSE, I call navigation->exit( ), and place no exiturl inside the parenthesis. All this does is reload the page that I was on in the initial state.

Is there something that can be entered into the parenthesis to force the window to close? Or, is there another way of closing the window?

Best regards,

Kevin