How to get rid of Restore button on form?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have set code and properties for a form for maximize, dialog, no control box, no min and max buttons.

When I open the form, all that stuff is gone except a restore button and when you click it, it restores the form so it is not maxed inside of the Access window. Since I turned all the other buttons off, it cannot be maxed again.

How do I get rid of the restore button?
I'll also play with the other form types to see if there is one with no title bar.
 
Instead of worrying about the restore button, just put
this code in the form "Activate" event

docmd.maximize


-----Original Message-----
I have set code and properties for a form for maximize,
dialog, no control box, no min and max buttons.
When I open the form, all that stuff is gone except a
restore button and when you click it, it restores the form
so it is not maxed inside of the Access window. Since I
turned all the other buttons off, it cannot be maxed again.
 
Hi Chris,

I did put the max in. But in the top right of the window, under the Access level Restore button, shows my form's Restore button. The user can click it, and that reduces the size of my window slightly and they can move it around inside of Access.

Is there any way to get rid of the restore button?
--
MichaelM


chrisj said:
Instead of worrying about the restore button, just put
this code in the form "Activate" event

docmd.maximize


-----Original Message-----
I have set code and properties for a form for maximize,
dialog, no control box, no min and max buttons.
When I open the form, all that stuff is gone except a
restore button and when you click it, it restores the form
so it is not maxed inside of the Access window. Since I
turned all the other buttons off, it cannot be maxed again.
 
Back
Top