Get rid of menubar..?

K

Kent J

Hi all,

How can I get rid of all menubars.
I can remove them temporarily by 'Tools/Customize' and tick off all
menubars but when I restart MyAccess.mdb one menubar is still there.

What command should I use on Form_Open to eliminate all Menubars.
I have tried with: Me.MenuBar = ""

Kent J.
 
J

J_Goddard via AccessMonster.com

Hi -

Set the menubar property of the form to =1 (no quotes). You can do that in
design view or by using VB code, i.e. Me.menubar = "=1"

John
 
K

Kent J

Hi,
Thanks!
Arcive/View/Tools.../ are gone now.
But the gray bar is still there.
I could use the extra space.
How can I get rid of that also?

Kent J.



J_Goddard via AccessMonster.com skrev:
 
G

Guest

I don't think you can.

Kent J said:
Hi,
Thanks!
Arcive/View/Tools.../ are gone now.
But the gray bar is still there.
I could use the extra space.
How can I get rid of that also?

Kent J.



J_Goddard via AccessMonster.com skrev:
 
G

Guest

This can be accomplished.

1. Create a customized toolbar. This toolbar does not have to have any
command buttons.
2. Set the customized toolbar's type property to Menu Bar. Make sure "Allow
Showing/Hiding is checked.
3. Select the newly created customized toolbar from the form's Menu Bar
option.
4. Build an event procedure in the form's On Activate event and enter the
following code
DoCmd.ShowToolbar "customtoolbarname", acToolbarNo
 

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