Restore Window Button

  • Thread starter Thread starter Kelvin Clayson
  • Start date Start date
K

Kelvin Clayson

I have a form I use as a switchboard form, which I want to stay maximized
whilst the application is open.

However, I've recently found that the Restore Window button on the top left
hand side has appeared, which potentially allows users to interfere with
this form.

Any ideas how I can get rid of this button & keep the form as described?
I've tried all the combinations of settings I can think of, if someone could
clue me in I'd be v.grateful...

Many thanks,

Kelvin
 
Open your form in design view, open properties, go to the Format tab and set
the show Min/Max buttons to No.
 
Hi Kelvin,

If you have a DoCmd.Maximize statement in the Form's Activate,
Load, or Open events you will see the Restore button appear.

To have the best of both worlds with a *maximized* form and no restore
button is to use the code found here:

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

I use it all the time and it works great.
No aftertaste and very low in carbs.
 
Jeff -

Many thanks, looks just like what I'm after (haven't encountered this
bizarre reappearance of the Restore button before, BTW, or maybe I just
haven't noticed it till now..!)

Regards,

Kelvin
 
Back
Top