Close the window in forms

well i had made my application with multiple windows in one form well all the window be opened through menu but the problem is that when i tried to close the windowby clicking on the close mark on the window it dont close that window well in this way if i had opened 10 or more windows they remain open and dont seem to be close by that close or hide on exit property of that windows what i conclude its a built in bug or any mistake that i had made help me out

Hi!
You must create When-Window_Closed trigger.
e.g.
if :SYSTEM.EVENT_WINDOW = 'W1'
then
Clese_Window('W1');
else
Exit_form;
end if;

Similar Messages

  • In FF 3, Intellimouse ("5" buttons) back button closes only the current tab. In FF4 it closes the window. I prefer the former. How can I get FF4 to do that?

    MS's Intellimouse has five "buttons" including the scroll wheel. I set left and right buttons to L-click & R-click (seems normal). I set left side button to Back and right side button to Close.
    In FF3, Close closes the current tab and Ctrl-W closes the window. In FF4, this is reversed -- Close closes the window and all its tabs and Ctrl-W closes the current tab -- not my preferred behavior.
    The behavior switch in FF4 may or may not have been a function of what somebody had for breakfast. It is was, then I'd like it switched back. If there was an important reason for the switch, I'd like to know.
    Until FF4 reverts to FF3 behavior, I'm probably stuck in FF3.
    In anyhow, thanks -- John Linford, Fort Worth

    Harley, thank you so much. I'll reload FF4 and re-set the settings.
    John

  • The webpage your are viewing is trying to close the window

    Hi. I run an HTML script which in turn runs my Web Form and quickly closes the initial IE window (for neatness). However, it the user first is prompted:
    "The webpage your are viewing is trying to close the window.
    Do you want to close this window?"
    Do you know what causes this and how I can surpress the message?
    Thanks in advance.

    See Re: HELP - CLOSE WEB BROWSER

  • Close the window (browser after execute business action

    I have ceated a JSP which will trigger a popup. How can I close the popup after executing some business action in the pop.jsf ?
    in addition, since my popup will return value to window.opener, but I have tried that I have a page forward in the popup, it cannot locate the window.opener and hence cannot return value to the opening windows but only return me error 404 page not found.
    actually my popup is just like a searching form, user can input some string to serch the DB and then display the data in datatable. then user can pick up the record he would like to choose and returning a code back to the opening windows...so i want to close the popup, or returning the value to the opening windows if i have a screen refresh in the popup
    Can anyone help in this issue? Many thanks

    Hi,
    I'm not sure I've fully understood what you require... but here's something you can try.
    Lets say that you search for some user entered criteria and display results to the user in the pop up JSP. I am assuming that there would be some user action on which you want to return something to the parent window and then close the child window.
    You can access the parent window using:
    window.opener.document.<form name>.<field name>
    and then close the pop up window using a simple window.close();
    On the other hand, if you want to close the window w/o any user inputs (directly after the server side processing), then make the server side processing send a status parameter back to the pop up window. For example, set a parameter in the request which will trigger a JavaScript in the pop up window to close itself.
    Hope this helps.
    Cheers !
    Vinay

  • Firefox won't open a message tells me it is all ready running I need to close the window to open firefox. Firefox is not open so why do I get this message

    When I try to open firefox a box opens up and tells me firefox is already running in another window and I need to close the window if I want to open firefox in a new window. Firefox is already closed, nothing is left open when I close out firefox. I would only have this problem once in a while but now it is happening more often why?

    Open Task Manager and click on the Processes tab. Scroll down to "Firefox.exe" , click on that line and click on "End Process" button.

  • Okay, i have 2 bugs with maverick.  First, when I delete a file within a window, the files deletes but the preview doesn't delete until I close the window and reopen it.  Second, I work on a network of computers and the search feature is now buggy...

    Okay, i have 2 bugs with maverick.  First, when I delete a file within a window, the files deletes but the preview doesn't delete until I close the window and reopen it.  Second, I work on a network of computers and the search feature is now buggy...  When I search for a file, A) it asks me if it's a name, or it wont produce anything, and B), its slower than in prior OS versions and in some instances I have to toggle to a different directory and go back to my original directory in the search: menu bar or the search wont produce anything...  Very buggy. 

    It appears to me that network file access is buggy in Maverick.
    In my case I have a USB Drive attached to airport extreme (new model) and when I open folders on that drive they all appear empty. If I right click and I select get info after a few minutes! I get a list of the content.
    It makes impossible navigate a directory tree.
    File access has been trashed in Maverick.
    They have improved (read broken) Finder. I need to manage a way to downgrade to Lion again.

  • How can I turn back the suggest option on iTunes when I purchase a song? somehow I close the window and now it doesn't come up

    how can I turn back the suggest option when I purchase a song? somehow I close the window that suggest the song similar to what we purchase on itunes

    NVM!!! Everything is strangely fine now!

  • When a website launches a new window to enter information, Firefox no longer automatically closes the window when you click the submit button. Why?

    For example, when I create a message in my autoresponder service and want to attach an image a new window opens up so I can enter the details of the image (url, position, alt text). When I click the Save button, the information is captured but the window remains open and I have to manually close it.
    Firefox used to close the window automatically.

    YES!! Thank you jscher2000! You sir are a legend. Thanks for this, changed the newtaburl in about:config, totally worked. Nope, never saw it happening! Speedy machine this one :P Yep, that change completely sorted the issue, just opened about 741 new tabs through the shortcut on my mouse just to celebrate. Thanks guys who helped, no thanks those who didn't.

  • Regarding the alert Message when i try to close the window

    Hi All,
    I am trying to give the alert message when the user tries to close the window.
    For this i have coded a jsp in which i have written
    <html>
    <head>Test in the Page Ajay</head>
    <body onUnload="alert('Test UnLoad')">
    </body>
    </html>
    and in the portalapp.xml i have given as jspnative.
    then if i try to unload the page the alert message is not executing.
    Plz help me out in this.
    Thanks
    Ajay

    Delete the iPod photo cache, as described here:
    http://support.apple.com/kb/ts1314

  • I have my FireFox browser set to delete the history when I close the window. It was working for a while and has recently just stopped with no changes to the settings.

    I have my FireFox browser set to delete all the history when I close the window. It was working for a very long time and has recently stopped with no changes to the settings. This has happened once before and I deleted FireFox and re-downloaded it, that solved the problem for a short period of time but the issue has come up again. How can I fix this?

    Can you check your configuration again? Maybe something went pear-shaped somewhere. It's located in Tools | Options | Privacy and then click the Settings button (see screenshot).

  • I downloads the latest iTunes software update and it properly installed.  But,  I cannot close the window showing it was completed and the blue completion bar is full but cannot cancel or close it either.  Any ideas on how to clear that out and close the

    I downloaded the latest iTunes software update and it properly installed.  But,  I cannot close the update window showing it was completed and the blue completion bar is full but cannot cancel or close it either.  Any ideas on how to clear that out and close the window.  Tried to quit on both the big window and the software update title in the menu bar.  No luck.

    Tried that by shutting down via the power button only as the normal shutdown was nixed by the open window issue.  It did not help.  Found a very similar question in the discussions and it recommended "Force Quit".  That worked and the update works normal and the window is gone.  Thanks!

  • When i close the window if press pressed next to the closure and returned again press not work

    When i close the window if press pressed next to the closure and returned again press not work

    Please expand upon your question with more detail. You can also post in your native language if English is a difficulty.

  • Get rid of message: "If you close the window, your changes will be lost..."

    Whenever I enter text, then close the window, I get the message, "if you close the window, your changes will be lost. Do you want to close the window anyway?"
    Yes, I do want to close the window, and I want to get rid of this message from popping up. Can't find it anywhere in Safari. Please help me out. Please, how do you configure Safari so this message will not pop up?

    HI David,
    From the Safari Menu Bar, click Safari / Reset Safari. Select the top 5 buttons and click Reset. Relaunch Safari. If you still see that dialog...
    Go to the Safari Menu Bar, click Safari/Preferences. Make note of all the preferences under each tab. Quit Safari. Now go to ~/Library/Preferences and move this file com.apple.safari.plist to the Desktop.
    Relaunch Safari and see if that makes a difference. If not, move the .plist file back to the Preferences folder. If Safari functions as it should, move that .plist file to the Trash.
    Carolyn

  • Firefox will close when i close the window but the process doesn't shutdown ever since i had updated to FF25

    I am running Win. 8.1 and had no issues with FF 24. Since upgrading to FF 25, firefox will appear closed when i close the window but the process doesn't shutdown. I have to go into Task Manager to end the process. I can then launch it again.

    SOLUTION (possible).
    Hi all. I had this problem as well. I currently run FF26. A week or so ago, out of nowhere FF wouldn't exit - the window would close but firefox.exe process would keep running in the background using about 50% of CPU. Not sure if it's connected, but just prior to that I clicked on a link on Facebook that looked like spam website, nothing happened, site loaded (sort of, all I saw was a msg - Please Wait...) but nothing happened, I have Eset antivirus and it monitors network traffic and files for viruses, so maybe it prevented my PC getting infected...
    So, I had this problem for a few days, was searching the net for solutions, but nothing seem to help. Then, just out of luck I did something that WORKED!
    Here's what I did. I noticed that svchost.exe was using a lot of CPU alongside with FF. I ran ProcessExplorer to see what might be connected to this process, the list was long and I didn't have any idea where to start, so what I did was - Right click on svchost process, choose Debug and dismiss the warning. In a few seconds svchost process quit and after that FF started closing properly.
    I had to re-enable all my plugins and themes I disabled prior, I also lost my history and preferences which I trashed in the process of searching for solution. But heck, it worked, hopefully for good. Now if someone could point out the real cause of this and fix it for everyone - that would be great. Cheers!

  • Flash quits when you close the window

    Why does Flash CS5 quit when you close the window you were working in? It has to restart every time you close and open a file.

    This doesn't seem to be a crashing issue. The program seems to be designed like Windows, wherein the application quits when you close the last open window. This is incredibly annoying and completely unacceptable.

Maybe you are looking for

  • Using your Mac with the BBC, or maybe not!

    I just wanted to bring to your attention that the BBC is conducting a survey about the future of online program content and unless we let them know there is a possiblity that Mac users will be excluded from this future service. If you want to tell th

  • Quick Time 7.0d0 - itunes install failed

    I know this topic has been probably been beaten to death, but it seems like I'm the only one who can't figure it out. I've read almost all the posts, but am still stuck. So.... Calling members like "B Noir" - Help! After "successfully" installing and

  • Sender file  FCC

    Hi all, iam doing file to idoc format I have file which is in idoc format  . file  3  segements  contol reacord ,header , item . EDI_DC40                           2   WMMBID02                                                    WMMBXY                

  • Release date of NW 7.0 EhP2

    Hi there, Can anybody tell me the specific planned / expected release date of EhP2 of SAP NW 7.0?  I know it has been communicated as April but more specific information would be appreciated. Thanks, Martin

  • How to end full screen mode in screen sharing, how to end full screen mode in screen sharing

    I inadvertently hit the 2 little arrows invoking full screen mode while in the screen sharing app. I can't get out of it now, and returned to the windowed mode. Help says to click the 2 little arrows, but I'm not being given 2 little arrows to click.