PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → WebDev - Close Browser
WebDev - Close Browser
Débuté par Glenn Rathke, 09 sep. 2008 00:34 - 1 réponse
Posté le 09 septembre 2008 - 00:34
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
Posté le 10 septembre 2008 - 17:15
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