sign in | join about | help | sitemap
Connecting Tech Pros Worldwide
Mary Ann's Avatar

Hide the Toolbar "Menu Bar" When A Specific Form Opens


Question posted by: Mary Ann (Guest) on November 12th, 2005 01:56 PM
I would like to write code in the On Open property of a form that
hides the main menu bar toolbar. I have already customized the menu
bar to all for showing/hiding but have no clue how to write the code
in the form.

Is it even possible to do this? If so, how?

Thanks!
1 Answer Posted
Deano's Avatar
Guest - n/a Posts
#2: Re: Hide the Toolbar "Menu Bar" When A Specific Form Opens

MGFoster wrote:[color=blue]
>
> If you mean the menus "File, Edit, View,..." you'll have to use the
> CommandBars object. I've been able to hide specific menu items (File,
> Edit, etc.) on the main menu bar by using this:
>
> CommandBars("Menu Bar").Controls("File").Visible = False
>
> Besides unchecking the "Allow Full Menuss" in the Tools > Startup
> dialog box, which only hids some file options, I haven't found a way
> to hide the whole menu bar.[/color]

Can't this be done by inserting =1 in the Menu Bar property of a form? I
don't want *any* menus to be displayed when some of my forms are displayed.
This accomplishes that.




 
Not the answer you were looking for? Post your question . . .
196,932 members ready to help you find a solution.
Join Bytes.com

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 196,932 network members.
Post your question now . . .
It's fast and it's free

Popular Articles

Top Community Contributors