Close Window Closes App
My application opens a NVO appcontroler that opens a window.
Then that window may open one of two windows descended from
the same class. Clicking the close button on one just closes
and reveals the launching window behind it. The other exits
the application entirely. Closing event scripts look the
same. Window Properties look the same.
What should I look for to explain the different behavior and
how could it kill the app?
TIA for all your help.
I would take a look at the ancestor script and make sure that both windows
are either extending or overriding. You might also do a /pbd...App not closing when windows close [Edit]
I have a strange problem, one of my applications will not terminate
when the system asks it to.
If I chose the close menu or I hit Alt+F4 the closes just fine, but
when I close down windows and my app is still open the system just
waits. Win7 tells me that it is my app, but win XP just don't close.
I have checked my CloseQuire event nothing there is holding from
CloseQuire actually finish, but DestroyWindowHandle is newer called though
Anybody have any idea what I should look for ?
Asger Joergensen wrote:
> Anybody have any idea ...Close window not closing
The following code is in the open event
if ib_error then
messagebox("Database Error", "Error: Unable to connect to the
Database!", StopSign!, OK!, 1)
But the window remains open and the messagebox is actually behind the
I have no code in the closequery event so the close should always work.
Are you conding this in the open event? If so, move it to an event
that's posted from the open event.
> The following code is in the open event
> if ib_error then
> m...Closing all the new window when parent window is closed!
hi, Consider that now i am opening a site 'www.asp.net' in the IE and after that i'm using ctrl+N or File->New->window to open a new window. Now if I close the first window, i want the window that is opened using ctrl+N to be closed. Is there any way to achieve this in Java Script?regards,M.S.PalaniSaami regards,M.S.PalaniSaami.http://dotnetcurve.blogspot.com/"Preserve our Mother: Earth"
I dont think this is possible. But if you open any pop up from the main window you can close all the pop up once the main window is closedVikram www.vikramlakhotia.comPlea...Close one window both window close bug
Name: Arquib Ismail
Summary: Close one window both window close bug
When i have 2 firefox windows open and i close one window by
richtclicking on one firefox window on the taskbar and click close both
Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2) Gecko/2007121120 Firefox/3.0b2
...Closing all Child windows when Parent window is closed !!
advance thanks...can anybody help me....
i am using VS 2005 web application based on VB.
i am using this following code for popup the window.
Page.ClientScript.RegisterClientScriptBlock(Me.GetType(), "popup", "window.open('webpopup.aspx?querystring','','scrollbars=yes,menubar=no,height=700,width=1000,resizable=yes,toolbar=no,location=no,status=no')", True)
my requirements are
1.whether this code will work in firefox?if no how i want to call this for both IE and firefox
2.when i will close the main window i want to close thi...Close all child windows as well when closing their parent window
How can I implement this feature with JS?
Take nothing on looks; take everything on evidence.- Charles Dickens
You can implements this type of functionality by calling some function
in child window which call using document.setInterval. In this function
you can check for the parent object. if parent object is null that call
seft.close();ThanksPankaj GohelPlease Mark as Answer if you find the post useful.
this.ClientScript.RegisterClientScriptBlock(this.GetType(), "Closeme", "window.opener.location.reload();window.close();", true)...Closing preferences window closes browser window also
Name: Tim Cheadle
Product: Bon Echo
Summary: Closing preferences window closes browser window also
I'm using Bon Echo Alpha 2 on Mac OS 10.4.6. When I open then Preferences window and subsequently close it, it closes my browser window as well. This behavior is the same if I use Command+W.
Browser Details: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1a2) Gecko/20060512 BonEcho/2.0a2
...Closing nested child windows when closing the parent window
I want to close all the child window when i close the parent window. Actually the scenario is from the parent window i am opening one child window and the child window contains DataGrid. The Datagrid contails the FooterTemplate and in the FooterTemplate a button will be placed so when we click on dat button it will once again opens one more child window. Now i want to close all the child and nested child windows should be closed when i close the parent window
can any one help me plz
Thanks in Advance
Awaiting for reply
There really is no definite way to do that ...Firefox does not close after i close the window
Name: William Kearney
Summary: Firefox does not close after i close the window
Hi I have been using firefox for years now and have not had a problem
like this but the past few months now I shut down firefox and come back
however long later or even right away as I accidentally and absent
mindlessly close it Lol, and get told I cant cause it still running in
the back ground ?:s so what is the cause of this and is there a way I
can fix that?
Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:220.127.116.11) ...close tab = close window
Name: Annie Brooks
Summary: close tab = close window
After viewing a page and wanting to return to the original cite,
sometimes when I hit "close tab," it closes the window instead and I
have to log on to the internet again.
Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3
From URL: http://hendrix.mozilla.org/
Note to readers: Hendrix gives no expectation of a response to this feedback
but if you wish to provide one you must BCC (not CC) the sender for them to
...When one closes ONE Firefox Window --- ALL FIREFOX WINDOWS CLOSE!
When one closes ONE Firefox Window --- ALL FIREFOX WINDOWS CLOSE!
It is OK for all the TABS to close, BUT ALL WINDOWS?
This bug needs to be fixed!
"Jay" <email@example.com> wrote in message news:ZOSdnXsvzv8FzuXVnZ2dnUVZ_tbinZ2d@mozilla.org...
> When one closes ONE Firefox Window --- ALL FIREFOX WINDOWS CLOSE!
> It is OK for all the TABS to close, BUT ALL WINDOWS?
> This bug needs to be fixed!
Tools → Options → Tabs → Warn (me) when closing multiple tabs
Tools → Options → Tabs → Always show the tab bar
The second one will stop Firefox fro...Close the main window of firefox without close the download window
Summary: Close the main window of firefox without close the download window
IF I close the Main Window of Firefox and after I open again
THEN my pages opened when I closed was saved
IF I close the Main Window of Firefox and give opened the Download Window
THEN when I open again the Main Window of Firefox without close the
Download Window the pages isn't save
Why does it happen?
Browser Details: Mozilla/5.0 (Windows; U; Windows NT 6.0; pt-BR; rv:18.104.22.168) Gecko/2009021910 Firefox/3....