472,338 Members | 1,623 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,338 software developers and data experts.

Copying a custom menu bar

I have a form that has its own custom menu bar in Access 2000. I'd like to
make a copy of the menu bar and use it with another form. How can I do this?
Thanks.
Nov 3 '07 #1
6 2429
On Fri, 2 Nov 2007 22:39:55 -0500, "Neil" <no****@nospam.netwrote:

Set the MenuBar property of that other form to the same value.
MenuBars are a global resource.

-Tom.

>I have a form that has its own custom menu bar in Access 2000. I'd like to
make a copy of the menu bar and use it with another form. How can I do this?
Thanks.
Nov 3 '07 #2
"Neil" <no****@nospam.netwrote in message
news:y4****************@nlpi070.nbdc.sbc.com...
>I have a form that has its own custom menu bar in Access 2000. I'd like to
make a copy of the menu bar and use it with another form. How can I do
this? Thanks.
Right click on any toolbar and select Customize. Click the 'New' button and
give it a name, then Ctrl-drag your controls from the old to the new
toolbar.

Nov 3 '07 #3
No, what I meant is that I need a copy of the menu bar to its own menu bar.
After I make the copy, I'm going to tweak it for the other form. But most of
the items will be the same. So I want to copy the menu bar to a new menu
bar, then modify it a bit, and use it with the second form.

"Tom van Stiphout" <no*************@cox.netwrote in message
news:95********************************@4ax.com...
On Fri, 2 Nov 2007 22:39:55 -0500, "Neil" <no****@nospam.netwrote:

Set the MenuBar property of that other form to the same value.
MenuBars are a global resource.

-Tom.

>>I have a form that has its own custom menu bar in Access 2000. I'd like to
make a copy of the menu bar and use it with another form. How can I do
this?
Thanks.

Nov 3 '07 #4
Yeah, there are a lot of menu items and submenu items, and I was hoping to
avoid all that hassle.

I found a way to do it, indirectly. Was hoping for a more direct approach,
but this way worked.

I made a copy of the MDB file, went into the copy, and renamed the menu bar
that I wanted to copy to a different name. Then, in the original MDB I did
an Import from the MDB copy, importing only menu bars and tool bars. Since
all the menu bars and toolbars are the same name as in the original, they
don't import. The only thing that imports is the renamed menu bar, which
becomes a copy of the original in the MDB file.

So that worked. But a simple Copy Toolbar function would have been nice. :-)

Thanks,

Neil
"Stuart McCall" <sm*****@myunrealbox.comwrote in message
news:fg*******************@news.demon.co.uk...
"Neil" <no****@nospam.netwrote in message
news:y4****************@nlpi070.nbdc.sbc.com...
>>I have a form that has its own custom menu bar in Access 2000. I'd like to
make a copy of the menu bar and use it with another form. How can I do
this? Thanks.

Right click on any toolbar and select Customize. Click the 'New' button
and give it a name, then Ctrl-drag your controls from the old to the new
toolbar.



Nov 3 '07 #5

"Neil" <no****@nospam.netescribió en el mensaje
news:y4****************@nlpi070.nbdc.sbc.com...
>I have a form that has its own custom menu bar in Access 2000. I'd like to
make a copy of the menu bar and use it with another form. How can I do
this? Thanks.

Nov 5 '07 #6
I take back what I wrote about finding a way to do it by copying the MDB,
renaming the toolbar, and then importing it into the MDB as a new toolbar.
While that technically worked, it really didn't. I ended up with two copies
of the same toolbar, inextricably linked! When I modify one, the other is
modified as well!

In other words: I started out with ToolbarA. Copied the MDB and renamed it
to ToolbarB. Imported toolbars from the copy and then had a ToolbarA and a
ToolbarB in the original db. However, when I add or remove an item from
ToolbarB, ToolbarA is modified. So they're really the same toolbar, but with
two instances in the database. Very weird.

Anyway, just thought I'd post it here as a follow-up.

Neil
"Stuart McCall" <sm*****@myunrealbox.comwrote in message
news:fg*******************@news.demon.co.uk...
"Neil" <no****@nospam.netwrote in message
news:y4****************@nlpi070.nbdc.sbc.com...
>>I have a form that has its own custom menu bar in Access 2000. I'd like to
make a copy of the menu bar and use it with another form. How can I do
this? Thanks.

Right click on any toolbar and select Customize. Click the 'New' button
and give it a name, then Ctrl-drag your controls from the old to the new
toolbar.



Nov 10 '07 #7

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

Similar topics

0
by: Jonathan LaRosa | last post by:
Hi, I am working with a DB with custom menus. I am trying to get the "send to -> mail recipient (as attachment)" to show up on the custom menu....
2
by: Sean Mullaly | last post by:
I have a custom Access menu with sub-menus and sub-sub-menus. (220 items). Right now I have created 220 Functions and attached each individual...
7
by: Ian Hinson | last post by:
I have an Access app that has been distributed with run-time installation to many different customers over many years. It is developed in Access...
0
by: R.A.M. | last post by:
Hello, I need your help with a problem concerning Menu control. Could you help me please? I have created custom Menu: public class DemoMenu :...
27
by: Wayne | last post by:
I've been clicking around Access 2007 Beta 2 and can't see the custom menu bar designer. Is it in the beta? Maybe I'm blind. The question that...
4
by: Robert Iver | last post by:
Hello everyone, I am trying to create an application that utilizes a SQL Mobile database. I have included that database in my main project, and...
5
by: lorirobn | last post by:
Hi, I am trying to create two custom menu bars for my application, one for read-only users (without delete record), and one for update-access...
2
by: trialproduct2004 | last post by:
Hi all, I am having application in whihc i am inserting menuitem dynamically. When i add menuitem to mainmenu, i want to pass extra parameter...
2
by: Wayne | last post by:
I know that it is possible to force Access 2007 to the display custom menu bars for an Access database developed in an earlier version by using the...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...

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.