Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to disable close button of a form in access!!

Status
Not open for further replies.

moin

Programmer
Jan 8, 2002
1
US
Hi All,
I am looking for a way to prevent users from exiting an access application form (.mde) by clicking the Access close control (X) button in the upper-right corner of the Access application form or by right clicking on the task bar and selecting close button. I want them to only be able to exit by pressing an Exit command button on one of the Forms or By clicking (X) on Main Access Application.

Thanks a lot for your time.

Best Regards
Moin
 
You can disable the close button of a Form by setting the Close Button property of the form to No. You cannot disable close from the task bar or the Close Button of Access itself with any ease. You might be able to do it with API calls though.
 
Disabling the close button on the form will only work as long as the form is not maximized. If the form is maximized the close button will still show up...

GComyn
 
Check out thread705-176093

There are a couple of good links there.

Kyle ::)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top