Can I close the browser window

Hi! friends,
I am in the process of upgrading to forms 6.0
when we load the form in the webbrowser, is there a
way I can close the browser window once I exit the form.
Please advise
Thanks in advance

You can try this solution from Metalink:
Customers want to close the browser's window when they close the forms application.
Solution Description:
USE JAVASCRIPT TO CLOSE THE WEBFORM APPLET
Solution Explanation:
1.)Create an html file (es. close.html):
<html>
<body onload="closeit()">
<script>
function closeit()
window.close();
</script>
</body>
</html>
2.) Put the html file in the webserver root.
3.)Inside the Form in a POST-FORM trigger you have to write a WEB.SHOW_DOCUENT builtin like this one: web.show_document('http://mywebserver.com/close.html','_self');
In this way the web.show_document calls, the JavaScript function "closeit()", when the the applet is closing.

Similar Messages

  • Can I close the browser window when I run a form?

    Hi,
    I'm running forms using SeparateFrame=TRUE, but the browser windows remains in background, could I close it before exiting the form?
    thanks

    See my code in this thread:
    9i Browser Fun!
    You may be able to do this via Javascript.

  • When I have the downloads window open and I close the browser window, how can I get the browser to open the homepage the next time I start it while the download window is still open?

    When I have the downloads window open and I close the browser window, the next time I reopen the browser while the downloads are still going, it returns me to the last page I was on. All previous versions of Firefox would return me to my homepage which I would prefer. Please let me know if this is possible.

    When you re-open Firefox and choose Restore Session, by default it picks up your most-recently-open window, and the other windows should then show up in Recently Closed Windows.
    The Firefox add-on Session Manager lets you manage how many closed windows and closed tabs are saved, in case it's not enough.

  • With Safari 5.1, I have to re-login after I close the browser window

    After I upgraded to Safari 5.1 from the previous version, I noticed some changes that I do not like.  Whenever I close the Safari browser window and later open it up again, I have to re-login to all websites that require login (such as ebay, Facebook, my Yahoo).  With the previous version of Safari, this only happened when I quit Safari and reopened the application afterwards.  With the new version, I even have to set my default location on Google Maps every time after I close the browser window.  With the previous Safari version, that didn't even happen after I quit out of it.  Another thing I noticed is that the browsing history starts listing again after I close a window, even though Private Browsing remains checked.
    Is there a setting I can change to avoid having to re-login every time I close a window ?  Or is this a feature of Safari 5.1 that cannot be changed ?

    If you have Private Browsing enabled, that's why you aren't staying logged into websites. Same with Google maps.
    Private Browsing doesn't  "remember" AutoFill information.
    Click History in the menu bar then click: Clear History

  • How does a servlet close the browser window?

    How can a servlet close the browser window it is running in?

    I'm running the servlet by calling it in a browser window, passing parameters using POST, with the parameters appearing at the end of the url.
    Is there another way to run the servlet, without it affecting the browser window? That would be a better solution.

  • Running a presentation via VGA out with Firefox/Safari open. When I hit 'esc' to come out of slideshow, monitor stated resolution too low. Now Safari and Firefox browsers are still open, but I can't see the browser window on either. Ideas?

    Running a presentation via VGA out with Firefox/Safari open. When I hit 'esc' to come out of slideshow, monitor stated resolution too low. Now Safari and Firefox browsers are still open, but I can't see the browser window on either. Ideas?

    If you use Lion, go to Applications/ Mission Control and, if you have more Desktops, as attached, it means you have more, and you must select the one you need for a certain app. If default settings has not changed, this is Control with left / right arrow
    If in Snow Leopard and earlier, you have these settings in System Preferences only. In Lion, you also have some settings in Sys Prefs.

  • How can I keep the browser window stretched across my two displays?

    I run am trying to run dual monitor setup and have the Firefox browser span the two monitors. Whenever a Firefox dialog opens, such as Preferences or Print, the window zooms to fit the one primary monitor. How can I keep the browser window stretched across my two displays?

    Thanks very much for your response to my question -very helpful.
    Do you have any recommendations for a good book on Edge Animate?
    Thanks,
    Shaun
    Date: Thu, 25 Oct 2012 17:10:43 -0600
    From: [email protected]
    To: [email protected]
    Subject: How can I change the browser window background color when playing an Edge animation?
        Re: How can I change the browser window background color when playing an Edge animation?
        created by heathrowe in Edge Animate - View the full discussion
    ADD this to compositionReady handler, change the hex color code to your desired color //Force body of webpage to a specific color$("body").css("background-color","#5d5e61"); Darrell
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4801409#4801409
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4801409#4801409
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4801409#4801409. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Edge Animate by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Is it possible to make a link in a mobile site close the browser window on the iPhone?

    I'm developing a mobile site specifically for iPhone users and on my home page I have a disclaimer saying something like do not browse this site while driving. I give them the option to continue by clicking a link or to close the browser by clikcinga link. So far I haven't been able to find a script that can handle that for mobile, or more specifically, the iPhone. Can this be done on the iPhone and what versions are limited to this feature?

    Ok let me ask you IF the IT department of your workplace does NOT want OS X installed on "THEIR" (The Companies) computers because of what they think is some type of security issue why are you trying to go against their wishes and install OS X on a computer that is NOT owned by you.
    That could cost you your job.
    If you continue down this path you will screw up the Windows install and have to take the system back to the IT department to get it fixed. What do you think they will say at that point?
    Do as you like but you would be better off just buying your own Mac computer if you are set on using OS X as your personal operating system.

  • I cannot move, resize, minimize, or close the browser window despite everything inside the window still working.

    I don't know what details are needed so I'll just rattle off anything that I can think of.
    I am running an Asus laptop with windows 7. I have never had an issue with firefox in the past (beyond the usual freezing and some obvious issues with pop up ads that are par for the course with firefox since adblocker never does what it says.... not really. Lets be honest.) I am using Avast for my virus protection and it is also up to date.
    My issue started about an hour ago when firefox stopped responding. The video I had playing kept going but I could not interact with anything. Assuming the program froze for the billionth time that week I rebooted it. This has always solved freezing issues in the past. Now, however, firefox is doing something new.
    I can access the menus and almost everything on the window itself except for the minimize/maximize/close buttons, I cannot move the window at all, and I cannot manually resize it. I have also noticed that although videos will play, I can only click on their buttons if there is another smaller window overtop of firefox. The video controls will only appear that way and when I click them firefox naturally comes to the front and the video responds with the button I used but the buttons are gone again and I cannot resume playing without the smaller window back in front to make the buttons show again.
    It's as if half of firefox is frozen while the other half is still running somehow.
    I have no themes that could be causing this. Literally none. I only use firefox for the things that can no longer be opened in Opera so I have no need for any theme beyond default. The only addons I installed on purpose were adblockers (lord knows why. they don't DO anything.) though several other random things seem to have been installed over time to aid in one thing or another. Various plugins and players and versions of java, that sort of thing. But I have everything (and i mean EVERYTHING) in the addon menu disabled.
    I have tried booting it up in safe mode (the program, not windows) and the problem is still there except now it won't show the menu bar at all unless I press the alt key first and even then it wont let me actually click on anything in the menu bar. When I try the whole bar vanishes. I had to close firefox with the task manager.
    Rebooting will fix the issue for about 15 seconds before it all comes back.
    Any attempts at updating have failed as it says I am already up to date on everything so I don't know what its issue is.
    It's not an urgent issue right now as most of what i need to do can be done on the half screen window I am using, but some of my sites have buttons that literally vanish in anything but full screen and I imagine that this will be a much greater annoyance within a few days.

    After following all the instructions given, I poked around safe websites as suggested. I am not sure why this step was needed, as websites functioned rather normally before I came here but I did it anyways and found that the websites still work the same as they did. I can still do everything I used to be able to do. I see no change in the function of the websites.
    However, I still cannot resize, close, or move the browser window. I don't know if Netflix is a safe site or not (too many conflicting opinions on that one from the masses) so I don't know if the issue with the vanishing buttons is still there, but all the issues I had with the browser window itself is still there.
    Even in safe mode the browsers three window control buttons on the top right refuse to let me use them and the window itself will refuse to be moved around.

  • Can I view the browser window and the effects window at the same time?

    I just got a second monitor to complement my 24" iMac, and would like to take advantage of it by having the effects window and the browser window with all my clips open at the same time. Anyone know if this is possible?

    I think you just need to grab the Effects tab and drag it out of the Browser onto your extra monitor (though I could be wrong).

  • I have Firefox 3.6.13 with Firefox for Yahoo 1.7 on Win XP and when I close the browser window, I can't open it again without using Task Manager to close firefox.exe any suggestions?

    This started when I first set started using Yahoo Messenger. It appears to me that Yahoo messenger is keeping the application firefox.exe open in the background and this prevents the browser from opening. The only thing I can't understand is why the broser will open the first time with Yahoo Messenger running.

    See "Hang at exit":
    *http://kb.mozillazine.org/Firefox_hangs
    *https://support.mozilla.com/kb/Firefox+hangs

  • Starting WinGui with SSF unable to CLOSE the browser window

    Hello,
    I'm using the following URL to use an iView which is starting WinGui
    with SSF
    http://<fullhostname>:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fR3_SSO
    The portal is EP 7 SP 9
    R3_SSO is a transactional iView with SSF to the R3 system SMEN transaction.
    When I try to use the above URL, I get a popup message saying:
    "The Web page you are viewing is trying to close the window"
    "Do you want to close this window ?"
    This popup message is ANNOYing the users.
    How do I make this popup window NOT to appear at all ?
    Is note #973951 relevant (as this is NOT a BLANK page) and the window does close after pressing YES in the popup window ?
    Note 973951 - Starting WinGui with SSF leaves useless blank browser window
    Please, advise.
    Kind regards,
    Gil

    Can you please let me know what solution SAP gave when you opened an OSS note.
    I am facing a similar problem with (BW 7.0 EHP1) which is the latest SP. But this issue is still there.
    thank you

  • (I-Pad) I have rent a v film and received a message that the movie will expire in two days but can't close the message window anymore, hence I have no access to any other program on the I-Pad anymore

    I have rent a film and received a message from I-tunes that the film will expire in two days. Even though I have confirmed the message by pressing ok the message window is not closing anymore, hence can't use anz other program of the I-Pad 2 anymore. Does anzbody in the forum experienced anything similar? If yes what is the solution to it?

    Quit all apps and restart the iPad. Then try the video in the video app.
    Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    If by some chance you cannot go to the home screen, force quit iTunes by holding down on the sleep button until the red slider appears. Let go of the sleep button and then press and hold down on the home button until iTunes closes. Then restart the iPad as described above.

  • How can I close the Appearance window? screen? from System Preferences?

    I am still trying to get used to my new Intel IMac and was exploring. After I looked at Universal Access, two things happened:1) the menu bar at the top and the display got large and I can't seem to return them to the original setting and 2) the Appearance window now won't go away--it allows me only to minimize it and it seems to be preventing me from accessing System Preferences. I have been working on this all morning and I'm stuck. Please can anyone help?

    A foolish question on my part, perhaps, but have you tried restarting the computer?

  • Can applet close the Web browser window it embedded in?

    I know that a link or button in the Web browser can close the browser window. But I really don't if the applet can also do it.

    This site does have a search function you know, and if thats too much trouble there is google:
    http://www.google.com/search?q=site%3Asun.com+%22java+to+javascript%22&ie=UTF-8&hl=nl&lr=
    This should point you in the direction of a thing called JSObject
    Here is some code since I have this in my archive anyway:
    the html file:
         <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
                  height="0" width="0" >
            <param name="code" value="someApplet.class" />
            <!--[if !IE]> Mozilla/Netscape and its brethren -->
            <object classid="java:someApplet.class"
                    height="0" width="0"
                    >
            </object>
            <!-- <![endif]-->
          </object>
    <LABEL id="lblOutputText">This text is the HTML text </LABEL>the applet:
    // new class for jsObject!!!! compile this: javac -classpath "C:\Program Files\Java\j2re1.4.2_01\lib\plugin.jar" someApplet.java
    // since jaws.jar does not exsist anymore
    // in 1.4.0 to compile: javac -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" someApplet.java
    import netscape.javascript.*;
    public class someApplet extends java.applet.Applet {
        JSObject win;
        public void init() {
             try{
                 win = JSObject.getWindow(this);
    // you need win.eval("window.close();"); // to close the window. if the current window is not a popup
    // opened by a parent with window.open than the user will get a waring, your next question probably will
    // be "can I stop this warning" and the answer is simple: NO
                 JSObject textBoxLabel = (JSObject) win.eval("document.getElementById('lblOutputText')");
                 textBoxLabel.setMember("innerHTML", "<center><h1>Some text</h1></center>");
            }catch(Exception e){
                 e.printStackTrace();
    }

Maybe you are looking for

  • Printing Label Marks in Photoshop. Why does it show the view % & layer info?

    Why is it when you check labels under printing marks that it includes the file name AND the size you are viewing the document and layer. I just don't understand why it would also label the viewing size as this has nothing to do with the print. Is the

  • JDeveloper 11g production version error

    Hi, Finally , the production version of JDev 11g is available , but when i made my 1st sample hr app i found this error on the browser Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region not found ORA-01882: timezon

  • Need info about DHTML dialog plug in.

    Dear All, Could you please provide me with a specific documentation to apply this plug-in in an application. http://apex.oracle.com/pls/apex/f?p=44321:401:2922749502234499::NO:RP,401:: Perhaps if you take a look at this image, you will understand me

  • Date Modified problem not fixed . . . maybe never?

    Dunno if this has come up recently--I couldn't find it in a search. But the problem of a file, being modified and updated, not showing up as such in a folder unless clicked, is a massive one, and obviously has not been fixed with 4.5. I can modify a

  • Tax on a PO

    Hi Gurus, Can any one of you please guide me in picking up the total tax value for a PO with the help of the PO number? I have the Invoive number and then i can get a PO number from that, I have been trying to find a way to get the Path to pick up th