Creating a custom toolbar

G

Guest

I have created a custom menubar for an application. When I am in this
application, I want to display this custom menu and not the 'default' menu.
When I do this, I find that no matter what Access database I open, this
custom menubar is visible and not the default menu.
Is this normal? Can I somehow set this so that the custome menubar shows up
in that application only??
Thanks for any isight.
Joey
 
S

StCyrM

Hi Joey

To get rid of the default menu, in the Form's properties enter =1 in the
MenuBar property...

See the ShowToolbar action in Help to use your toolbar with your form.

Best Regards

Maurice St-Cyr
Micro Systems Consultants, Inc.
 
G

Guest

A direct quote from ShowToolbar Help = "The ShowToolbar action affects only
toolbars, not menu bars or shortcut menus."
I don't want to 'get rid' of the default menu bar. I can hide that in the
Startup properties.
What I want to know is : Why when I open up other Access databases, does
the custom menu bar show and not the default. I want my custom menu and or
toolbars to only display in that one application - not all Access databases.
Thanks.
 
G

Guest

OK.......I may have not described this problem very acurately....let me try
this again....
I have an app with a custom toolbar and a custom menubar. I have an .MDE of
this app for my users and in the .MDE I want the users to have the custom
bars and not the default ones. (Can't give them all that power)<grin>
However, in my master copy( the .MDB) I don't want to use the custom bars, I
want to use the default ones for the functionality.
However, if I am in the .MDB and I uncheck the toolbar so I am not
displaying the custome bars, the toolbar also does not display in the .MDE.
Is this normal behavior??
 
G

Guest

I approach this situation by creating both a custom toolbar and menu bar. On
each form, in the property field, I assigned the appropriate name of the
toolbar and menu bar. When the table is open, the default toolbar and menu
bar is display, when the forms are open, the custom bar is display. I have
checked other Access database on my computer and the system default toolbar
and menu bar is display.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top