invisible toolbar

  • Thread starter peljo via AccessMonster.com
  • Start date
P

peljo via AccessMonster.com

With my command DoCmd.ShowToolbar "Toolbar1", acToolbarYes i make my
toolbar Toolbar1 visible.I want at the same time make all other
toolbars on the screen invisible,regardless how they are
called.Sometimes i have
different toolbars shown and i am interested in a command that
does
not refer toa specific toolbar, but makes all the toolbats on the

screeninvisible.Is it possible ?
 
M

Marshall Barton

peljo said:
With my command DoCmd.ShowToolbar "Toolbar1", acToolbarYes i make my
toolbar Toolbar1 visible.I want at the same time make all other
toolbars on the screen invisible,regardless how they are
called.Sometimes i have
different toolbars shown and i am interested in a command that
does
not refer toa specific toolbar, but makes all the toolbats on the
screen invisible. Is it possible ?


You can loop through the CommandBars collection and make any
visible bars invisible, but how will you know which ones to
make visible again when you switch back to a previous
context?
 

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