473,373 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,373 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 2499
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. However, for the life of me I can't seem to get...
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 Function to the specific OnAction property. The...
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 2000. The custom menu bar has had no problems in...
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 : Menu { public DemoMenu(string ID, string...
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 comes to mind is: Will custom menu bars be the same...
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 it compiles and debugs just fine. I then...
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 users (with delete record). I only need File and...
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 to eventargs. So what i did is derived class from...
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 customisation settings in A2007 to nominate a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

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.