How to get rid of Restore button on form?

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.
 
C

chrisj

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.
 
G

Guest

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.
 

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