Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Close browser window on exit

672749Jan 27 2009 — edited Jun 8 2009
Hi all,

been looking around on something about closing the browser window when i exit my forms application but nothing yet.

Have created a .html page with this code


*<html>*
*<body onload="closeit()">*


*<script language="JavaScript">*


*function closeit() {*
win = top;
win.opener = top;
win.close ();

*}*


*</script>*
*</body>*
*</html>*
have a post_form trigger with this code

begin
web.show_document('C:\close.html');
end;

browser isn't closed when i exit application.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 6 2009
Added on Jan 27 2009
17 comments
8,247 views