473,767 Members | 2,302 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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!
Nov 12 '05 #1
1 15961
MGFoster wrote:

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("Me nu Bar").Controls( "File").Vis ible = 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.


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.


Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2377
by: Porky Pig Jr | last post by:
A question for those using python under Cygwin. I've just installed the latest distribution with python 2.3.4. One problem I have is when I start IDLE, it doesn't show toolbar menu (either shell window or edit window). Does anyone know why and if there is a workaround? TIA. (I know I should probably ask Cygwin folks, but just want to check it here first)
4
3844
by: JesusFreak | last post by:
From: us_traveller@yahoo.com (JesusFreak) Newsgroups: microsoft.public.scripting.jscript Subject: toolbar script problem NNTP-Posting-Host: 192.92.126.136 Recently, I downloaded the following beautiful script "http://javascript.internet.com/navigation/toolbar-menu.html". It works like a charm. I made my webpage in frames, where the nav-frame shows the menubar, so whenever I click a link in the menubar, it opens in the frame below. But...
2
1897
by: Simon Wigzell | last post by:
Is it possible within javascript to stop the little pulldown menu (with the values that the browser remembers have previously been entered into the field) from appearing? I have one very dense form where the pulldown menu appears on top of the push button that causes an action when the field content is changed. It is unnescessary and causes an extra click in a very click intensive form. Can it be turned off for the entire page as well? That...
7
2089
by: adelfino | last post by:
I mean: unsigned char foo = ""; is the same as: unsigned char foo; memset (foo, '\0', bar); ?
4
11607
by: Phill | last post by:
Here's what I'm doing to make the right context mnue show up based on what node was cliked: private void tvwMenu_MouseUp(object sender, MouseEventArgs e) { //Select Node When Right Clicked & Set Context Menu To Use if( e.Button == MouseButtons.Right ) { TreeNode node = tvwMenu.GetNodeAt( new Point( e.X, e.Y ) ); if( node != null )
8
2474
by: Ken Yu | last post by:
Hi, How can i disable "RightClick Menu" in Internet Explorer, when access the frontpage ? tks a lot ! Ken
4
2441
by: sureshpalani | last post by:
Hi Friends, I am new to access. Just creating a simple application now. I want to open a "Main Menu" form once *.mdb is clicked so that the user need not browse for the main menu. Also, is there any way that i can eliminate showing the forms and just execute the access application ? Regards, Suresh
4
5541
Cyberdyne
by: Cyberdyne | last post by:
In your All Programs Menu, some of your programs are in alphabetical order and others are not. This makes it very difficult to seek out a program that may be hidden in a maze of program folders and files. The solution is simple: have the computer re-sort the menu. When you install new programs, Windows XP tacks them to the end of your All Programs menu, rather than inserting them in the correct alphabetical order. So every so often you have...
0
10009
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9838
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8835
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7381
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6651
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3929
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.