Disable Close button on Access 2.0 Form 
Author Message
 Disable Close button on Access 2.0 Form

How do you disable the Minimize, Maximize and Close buttons
on an Access2.0 Form?  Tried setting form properties "Min Button", "Max
Button",
and "Control Box" to "No", but I'm still always able to minimize or
close the form
no matter what I try.  Any suggestions?

Van



Fri, 23 Jun 2000 03:00:00 GMT  
 Disable Close button on Access 2.0 Form

If the form is maximized the control menu, etc will appear.

There are three ways to stop this happening, each of which have there
drawbacks.

1) Don't maximize the form.
This obviously has a major drawback if you want to use maximized forms <g>.

2) Make the form Pop-up.
The form will then maximize to fill the desktop not just the Access MDI
Child window, so you won't be able to see the Access window at all.

3)  Write code to make the form as big as it can get in its restored state.
The form doesn't resize with the MDI window as a maximized form does,  you
would have to write code to resize the form each time the MDI window is
resized.

Quote:

>How do you disable the Minimize, Maximize and Close buttons
>on an Access2.0 Form?  Tried setting form properties "Min Button", "Max
>Button",
>and "Control Box" to "No", but I'm still always able to minimize or
>close the form
>no matter what I try.  Any suggestions?

>Van



Sat, 24 Jun 2000 03:00:00 GMT  
 Disable Close button on Access 2.0 Form

Thank you for your answer.  Combining part of you answer along with
Marcus Chambers, I was able to achieve exactly what I was aiming for
without difficulty.

Van Cox

Quote:

> If the form is maximized the control menu, etc will appear.

> There are three ways to stop this happening, each of which have there
> drawbacks.

> 1) Don't maximize the form.
> This obviously has a major drawback if you want to use maximized forms
> <g>.

> 2) Make the form Pop-up.
> The form will then maximize to fill the desktop not just the Access
> MDI
> Child window, so you won't be able to see the Access window at all.

> 3)  Write code to make the form as big as it can get in its restored
> state.
> The form doesn't resize with the MDI window as a maximized form does,
> you
> would have to write code to resize the form each time the MDI window
> is
> resized.


> >How do you disable the Minimize, Maximize and Close buttons
> >on an Access2.0 Form?  Tried setting form properties "Min Button",
> "Max
> >Button",
> >and "Control Box" to "No", but I'm still always able to minimize or
> >close the form
> >no matter what I try.  Any suggestions?

> >Van



Sat, 24 Jun 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Disable Close button in Access 2.0 Form

2. Disable Access Close Button not Form Close Button?

3. Disabling Close button on form

4. How to disable the close button from a form

5. Help - Can't disable close button on user form title bar

6. Disable Min/Max/close buttons in a form

7. Disabling close button on maximized form - How?

8. Disabling the close button on a form.

9. Disable close button on maximized forms

10. Disable Close, Restore Buttons on Maximized Form


 
Powered by phpBB® Forum Software © phpBB Group