Re: How to shut off ALL Menus ?
- From: "Rick Brandt" <rickbrandt2@xxxxxxxxxxx>
- Date: Thu, 29 Jun 2006 21:23:10 GMT
ApexData@xxxxxxxxx wrote:
Allow me to answer my own question:
Application.CommandBars("Menu Bar").Enabled = False
'Place this in the OnOpen of the form, solves my problem.
BUT
I still get the MS Access bluebar (for lack of better expression) at
the top of
the screen. This has a close button that the user can press to quit
access,
instead of using my CLOSE BUTTON.
How do I get rid of this, or at least shut off that X (access bluebar
close button) ?
If you have a form that is opened at start up and stays open the entire time
that your app is running then you can execute whatever code you are running
now in your [Close] button in the Close or Unload event of that form. That
way you don't have to concern yourself with how they close the app.
If you don't have such a form then create one explicitly for that purpose
and open it hidden at startup.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
.
- Follow-Ups:
- Re: How to shut off ALL Menus ?
- From: ApexData@xxxxxxxxx
- Re: How to shut off ALL Menus ?
- References:
- How to shut off ALL Menus ?
- From: ApexData@xxxxxxxxx
- Re: How to shut off ALL Menus ?
- From: ApexData@xxxxxxxxx
- How to shut off ALL Menus ?
- Prev by Date: Re: Query by form
- Next by Date: Re: Query by form
- Previous by thread: Re: How to shut off ALL Menus ?
- Next by thread: Re: How to shut off ALL Menus ?
- Index(es):