How can i remove the minimize button by code ?

Solar2

New member
Local time
Today, 12:34
Joined
Aug 13, 2007
Messages
2
How can I remove the three buttons on the upper right corner in the database ? These three buttons are called “minimize” “restoredown”and “close”. With the command
Application.CommandBars("Menu bar").Enabled = False
I remove all the buttons and the screen is clear of them, but these three buttons remain on the right upper corner. Is there any command with which to remove them by code ?
 
Yes you can. In design view of each form, look at the form properties, under format there is "Min Max Buttons" and "Close Button", set these to None/No and hey presto they disappear! :)
 
if you set the form to popup and modal you can obtain a form without the min/max close.
But if my memory serves me you have to maximise the form.

The reason for this is windows is MDI (multiple document interface) so you need a method of closing forms.
 
Yes you can. In design view of each form, look at the form properties, under format there is "Min Max Buttons" and "Close Button", set these to None/No and hey presto they disappear! :)

Thank you for the reply. In the design view of the form i have put No to the properties ControlBox, MinMax buttons and CloseButton but these buttons persist to stay at the upper right corner of the screen. perhaps they are tied up not with Acces but with Windows ?
 
Is the form maximise? If so, they could be the access application buttons rather than the form. If so, you should leave them there.

If the form is not maximised, I'm extremely surprised. What version of access are you using?
 

Users who are viewing this thread

Back
Top Bottom