Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

built in menu 3

Status
Not open for further replies.

Jarnut00

Technical User
Jan 24, 2002
32
US
PLEASE HELP!!!!! I HAVE A SIMILAR ISSUE!!!

In the BUILT IN MENU BAR, it is importnat that i remove to "WINDOW MENU". I do not want my sales personnel nor my labor employees to be able to just "UNHIDE" the main database, however on the other hand, i need to be able to do this WITHOUT having to create a whole new menu bar for the access application due to the fact the most of my sales people still use all other menus AND sub menus. Is there anything i can do to maybe HIDE the window menu using a macro or a module or even if there is anything i can add to my autoexec macro to remove the WINDOW menu from the built in menu bar? I really do not want to have to create a whole new menu bar cause that could take countless time to have every other menu in it when all i wanna do is just remove the "window" menu.

...I AM THE EGGMAN!!!
 
Actually, you can easily create a new menu bar that contains all but the Window menu:
1. Right-click the menu bar and choose Customize....
2. In the Customize dialog, click the New button and give your menu bar a name.
3. Click OK. A tiny, empty toolbar is created.
4. In the Customize dialog again, click Properties.
5. Change the Type to Menu Bar. Change any other properties you like, then click Close.
6. Now comes the trick. While holding down the Ctrl key, drag each menu (except Window, of course) from the main menu bar to your new menu bar. By holding down Ctrl, you cause a copy of the menu to be created.
7. When you're done, close the Customize dialog.
8. Choose Tools|Startup.... In the Startup Properties dialog, select your new menu from the Menu Bar combo box. (I assume you have already unchecked the Use Access Special Keys box, so the users can't hit F11 to get the Database Window. Doing so also prevents the Ctrl-F11 key from toggling between your menu and the normal Access menu.)

That's it! From then on, when your database starts, your custom menu replaces the Access default menu. Rick Sprague
 
YOU ARE THE BEST MAN!!!! THNX!!!!!1 ...I AM THE EGGMAN!!!
 

Dear Rick:

I've avoided custom menus because I thought the learning curve was going to be pretty steep. But your explanation for Jarnut was great. Worth a star from me.

Gus Brunston :cool: An old PICKer, using Access2000. Celebrating this year my 72nd birthday and my 50th wedding anniversary.
padregus@attbi.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top