Disabling the 'X' button on the browser?

R

Ron

I am opening a new window which has a control button to close the window once all information has been entered. I do not want the user to be able to close the window by clicking on the 'X' button to close the window.

Is there any way to disable the 'X' button on the top right corner of the browser?

Thanks in advance
 
C

chris leeds

there used to be a "chromeless" window. I don't remember where I saw it.
maybe you could simply use a "layer" rather than a window?

--
Chris Leeds,
Microsoft MVP FrontPage

The email address on this posting is a "black hole". I got tired of all the
spam.
Please feel free to contact me here:
http://nedp.net/contact/
--


Ron said:
I am opening a new window which has a control button to close the window
once all information has been entered. I do not want the user to be able to
close the window by clicking on the 'X' button to close the window.
 
M

Murray

No.

--
Murray

Ron said:
I am opening a new window which has a control button to close the window
once all information has been entered. I do not want the user to be able to
close the window by clicking on the 'X' button to close the window.
 
M

MD Websunlimited

AFAIK, no.

--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
FrontPage Add-ins Since '97 FP 2003 / 2002 / 2000 Compatible

Ron said:
I am opening a new window which has a control button to close the window once all information has been entered. I do not want the
user to be able to close the window by clicking on the 'X' button to close the window.
 
K

Kevin Spencer

How are you going to prevent the user from:

1. Hitting ALT-F4 to close the window
2. Using Task Manager to close the window
3. Rebooting the machine

Bottom line is this: Trying to stop users from controlling what applications
are running on their machine is bad programming practice, for all kinds of
reasons. You need to handle the eventuality that a user will close this
window.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

Ron said:
I am opening a new window which has a control button to close the window
once all information has been entered. I do not want the user to be able to
close the window by clicking on the 'X' button to close the window.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top