Windows "X"

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How in Access do I catch the fact that someone has clicked "X" on the
Access/Windows bar?
 
I do it by loading a hidden form as the first thing. When the user presses
the "X" then Access will attempt to close down and the last thing it does is
close my hidden form. This form has an Unload event that you can Cancel to
stop Access from closing. You can put up any message you want and do any
housekeeping chores the need doing.
 
Don't show the X, then they can't click it.

It would be interesting to know how you go about hiding the "X" on the
Access main 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

Back
Top