How do I get rid of the restore and close buttons?

  • Thread starter Thread starter dell601
  • Start date Start date
D

dell601

Guest
Hi, the problem I have is I have some forms that have custom toolbars and I want to disable the restore window and close window buttons on the toolbar. It's the two buttons on the upper right hand of the window. I know that it is possible but not sure on the correct expression to do it.

Thanks in advance!

Matt
 
Matt,
In the property setting in the form inwhich you wish to remove the restore and close button there are three options to set. The first is set the "control box" to no, the "Min Max Buttons" to no and the "close button" to no. This will remove all of the options that appear on the upper right of the form window. However, you may want to make sure that you put some type of command button on the form to close the form or the user will have no way to close out of the form.

HTH
BAC
 
Thanks Bill for the response. I have done the three options and I still have the restore and close buttons on the window.

I do have buttons with macros to navigate through the form.

Thanks again!

Matt
 
If your window is maximized you always have a restore button.
Resize your window until it seems like it is maximized on your screen. On the technet of Microsoft you can find how to do this in VBA code.
 

Users who are viewing this thread

Back
Top Bottom