Welcome! Log In Create A New Profile

Advanced

WebDev - Close Browser

Posted by Glenn Rathke 
Glenn Rathke
WebDev - Close Browser
September 08, 2008 09:00PM
Hi All,

I'm not sure if you're like me, but when you end your WebDev application by EndProgram you'll get the WebDev server showing you've been disconnected. Then within a few seconds the app will launch again.

I've found that if you use the follwing code in the javascript code of a button, I use the Cancel Button on the login screen, the browser wkill close

window.opener='x';window.close();

I think this may do it to:
self.close();

HTH everyone

Glenn Rathke



Edited 1 time(s). Last edit at 09/08/2008 09:03PM by Glenn Rathke.
M. Beaven
Re: WebDev - Close Browser
September 10, 2008 02:58PM
Thanks for the info Glenn- we also have learned here that in order to get the most out of Webdev it behoove's one to learn some level of Javascript.

Regards,

-Marc
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: