Hide - Minimize, Restore , X Close

R

Ross

How can I hide the Access program M - R - C buttons in
the upper right corner (Access 2002) so that the user can
only exit the program using the switchboard close button?
 
M

Marshall Barton

Ross said:
How can I hide the Access program M - R - C buttons in
the upper right corner (Access 2002) so that the user can
only exit the program using the switchboard close button?


Use the form's Min Max Buttons, Close Button and/or Control
Box properties.

But there are other ways to close a form (menu, toolbar,
closing Access, pulling the power cord), so that isn't a
100% sure way to force users to only exit through your
switchboard.
 
C

ctdak

Change the following to "No" on the Format tab of the form
properties:

Control Box
Min Max Buttons
Close Button

Actually just setting Control Box to "No" will do it.

ctdak
 
V

Van T. Dinh

If you are talking about the Access Application windows, I don't think you
can since they are parts of the Windows "standard" interface. (There may be
ways using the Win API but I don't know). The best you can do is to make
the Application Close button (X) ineffective.

However, like Marsh wrote, users expect it to behave the same as other
applications and if you prevent users from using the Close button like other
applications, they may unplug the power and corrupt the database.

It is much better to allow the users to use the Close button and simply use
code to do whatever you need to do before closing down.

HTH
Van T. Dinh
MVP (Access)
 

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