Re: Access Menu Bar 'Window' option
From: Stephen K. Young (_at_)
Date: Tue, 13 Jul 2021 12:54:47 -0400
You can copy the Access built-in Window menu to your own menu, and
manipulate it while your application is running, and put it back when done.
For example, you can do something like the following, based on a variable
' The Window menu popup in mnuAppMenu uses the standard full Access
Window menu in order to display the list of open windows
' The [&Hide] and [&Unhide] are retained but made invisible (removal
affects the standard toolbars).
![&Unhide...].Visible = Not isAppRunning
![&Hide].Visible = Not isAppRunning
"Berny" <BlancoB at MSN dot Com> wrote in message
> Is it possible to reference only Open Documents part of the menu or do you
> have to reference the entire menu item?
> "david epsom dot com dot au" <david@epsomdotcomdotau> wrote in message
> > These are a bunch of hidden, invisible place holders, that are updated
> > Access when you open or close a window.
> > So your two options are (a) add a reference to the original menu item,
> > (b) create your own place holders, and update them your self. The
> > with (a) is that any change you make affects the menu item, and the
> > problem
> > with (b) is that any change Access makes does NOT affect the menu item.
> > don't think there is any solution: If you want the menu items to be the
> > ones
> > updated by Access, then they have to be the menu items updated by
> > sorry...
> > (david)
> > "Berny" <BlancoB at MSN dot Com> wrote in message
> > news:%23JAJn5QZEHA.firstname.lastname@example.org...
> >> Does anyone know how to add the feature under the 'Window' menu option
> > that
> >> lists the currently open documents?
> >> I can't seem to find it under the Menu Customize...
> >> The problem I'm having is that when I add it from the Built-in Menus
> >> (Menu
> >> Customize) or if I copy it, any changes I make to the New or Copied
> >> Option' also changes the original 'Menu Option'
> >> Any help would be greatly appreciated