Prevent User Exiting Form Via Task Bar

jwindon

Registered User.
Local time
Today, 15:37
Joined
Aug 12, 2001
Messages
531
Does anyone know how to prevent a form user from exiting a form via the task bar (right click..close)?

I need to confirm if the user wants to save their changes, but I don't want to use the OnClose event because I have the form stay open for other purposes. Also, the OnCurrent event is not suitable.

The form is a batch entry form and is set to data entry = yes.


Thanks in advance.
 
You could always just change the form to modual so the user can't click outside of the form.
You could always have a try at catching the application close event through the API. I haven't tried this myself... the above usually is enough.

[This message has been edited by Emohawk (edited 01-14-2002).]
 

Users who are viewing this thread

Back
Top Bottom