Hding menu bar

J

Jonathan Blitz

I need to completely hide the menu bar at certain times in my application.

How do I tell Access to show no menu bar?
If I set it to blank or to something that doesn't exist then I get an error
message.

--
Jonathan Blitz
AnyKey Limited
Israel

"When things seem bad
Don't worry and shout
Just count up the times
Things have worked themselves out."
 
A

Albert D. Kallal

Try downloading my sample application at:

(grab the 3rd one).

http://www.attcanada.net/~kallal.msn/msaccess/DownLoad.htm

You can see how all of the ms-access interface is hidden. Just take a look
at the tools->startup options to see how this is done.

I think in your case, you don't really want to hide "all" of the menus. But,
if you do, then the above example of simply building a basic menu bar, and
showing that also does a good job of hiding all other menus.
 
J

Jim Allensworth

I need to completely hide the menu bar at certain times in my application.

How do I tell Access to show no menu bar?
If I set it to blank or to something that doesn't exist then I get an error
message.

--

Try this:
In the Open Event of a form put this expression...
Application.SetOption "Built-in Toolbars available", False


In the forms Menu Bar property put this value...
=1


- Jim
 

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

Similar Threads

Hiding an empty value 4
Thought you should see this 1
Nice menu bars 3
Show gif while form is "thinking" 9
Leave button pushed in 2
Weird message 5
Renaming controls en-mass 1
Problems with OrderBy 3

Top