473,386 Members | 1,819 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,386 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 2501
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
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
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

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.