
Maximized form shows Restore button when maximized
in form design properties did you set the other tab\menu bar to "your
menubar name"
in the on open you put the code:
CommandBars("your menubar name").Visible = False
or
CommandBars("your menubar name").Enabled = False
that should get you there it works in my app.
Quote:
> Thanks: I tried the first solution but it didn't remove the Restore
button.
> The instructions are a little unclear. Here's the code I used:
> Forms!Switchboard.MenuBar = "DummyMenu"
> CommandBars("MyNewMenu").Enabled = True
> CommandBars("DummyMenu").Enabled = True
> Anything I'm missing?
> bj
> > Look at www.master-office.com under "Developers" to find a solution that
> > removes the max, min and resore buttons on a maximized form. There are
two
> > alternate solutions but I prefer #1.
> > > In Access 2000, all the forms I have that are set to maximize upon
> opening
> > > seem to have in their command bar the Restore button. Is there anyway
> > > either to hide this button or to deactivate it (this problem did not
> occur
> > > in the same database when it existed in the Access 97 format)?
> > > bj