Control Box, Min, Max, Close Button

  • Thread starter Thread starter John C.
  • Start date Start date
J

John C.

I have a form that is opened by code.

The form is set to not show min/max/close/control box.
Dialog and modal selections are set to no

After opening the code maximizes the form.

When in maximized state, the form displays a restore
control.

How can I prevent the display of the restore control?
 
I forgot to say that if I make the form a pop-up, no
controls are displayed, but the user can still double-
click on the control header and restore the form to normal
view.

Also, if I make the form a modal, the restore control is
still displayed.
 
I know that you can not get rid of the Close box (by any normal means) when
the form is maximized. This might apply to Restore as well (I don't have
Access here to check.) %$#@!iung illogical, IMO.

HTH,
TC
 
Hi,

If you have a DoCmd.Maximize statement in your form's code
Open event, the Form's Restore and Close button will still
appear. If you would still like to get rid of them and
maintain the form at maiximized state, you might try the
code here:

http://www.mvps.org/access/api/api0022.htm

Works pretty good.
Hope that helps,
Jeff Conrad
Bend, Oregon
 
Back
Top