Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 19th, 2003, 03:55 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default Custom Menu Manipulation

I have a custom menu in my Access XP form. I can disable a subcommand very easily with the DoCmd.SetMenuItem action (e.g. FILE > PRINT, I can disable PRINT). However, I cannot disable a main menu command at all (e.g. FILE) . There is no error, but nothing happens. Does Access XP allow disabling of first-tier commands on a menu?

I did read about the CommandBar properties and actions, but the explanations and examples are too cryptic to make heads or tails out of them. It makes it look like you need lots of code lines merely to do this:
Code:
    DoCmd.SetMenuItem 1, 2, , acMenuGray
Is there another way of doing it?

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
__________________
Greg Serrano
Michigan Dept. of Environmental Quality
Air Quality Division





Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Menu Paula222 ASP.NET 1.x and 2.0 Application Design 0 November 8th, 2006 09:21 AM
Custom Menu Paula222 .NET Framework 2.0 0 November 8th, 2006 09:08 AM
Creating Custom Menu Component in JSF.....Pls help Finny J2EE 0 September 10th, 2004 06:24 AM
Custom Menu slgknjn Excel VBA 4 June 3rd, 2004 01:20 AM
Custom Menu... Almost SerranoG Access 5 January 30th, 2004 09:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.