[AccessD] Where do they store the toolbar info

Glen McWilliams glen_mcwilliams at msn.com
Fri Jan 2 06:16:39 CST 2004


John

You should be able to walk through the CommandBars collection, setting the visible property for each to false.
Somewhere code to do this, which I will post.

HTH
Glen McWilliams
  ----- Original Message ----- 
  From: Jim Lawrence (AccessD) 
  To: Access Developers discussion and problem solving 
  Sent: Friday, January 02, 2004 3:58 AM
  Subject: RE: [AccessD] Where do they store the toolbar info


  Hi John:

  I am not sure whether this is the case but when ever I have had some custom
  tool bars, all have been implemented through macros. (The only place in
  which I use those things.) There is a way to do in A2000 plus, through a
  'command' code but I have never bothered to researched it myself.

  HTH
  Jim


  -----Original Message-----
  From: accessd-bounces at databaseadvisors.com
  [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby
  Sent: Thursday, January 01, 2004 5:18 PM
  To: AccessD
  Subject: [AccessD] Where do they store the toolbar info


  I am going through a database I inherited trying to make the thing look and
  act consistent.  One thing that I am running across is that some forms have
  toolbars on such as "web design", "Form view" etc.  If you go to design view
  / properties / others, there is no toolbar in any of the toolbar properties
  on this tab.

  This is something that has always puzzled me and I never really ever figured
  out.  This (what toolbars are being displayed) is "context sensitive", i.e.
  if you click in the menu at the top of a form while in view mode (not design
  view) and select a toolbar from the menu that appears, then close the form,
  the form "retains" that toolbar as it opens next time.

  That is simply nuts to me, who wants the form design toolbar viewable to the
  user just because you used it yourself?

  Anyway, where the ^%*&^%(*^) is this stuff stored?  Does anyone have code to
  go find and get rid of these things throughout an application (all forms).
  I'm currently opening every form and if they have any of these menus, right
  clicking on the top, unselecting the menu and saving (closing) the form
  which gets rid of it... until the next time it is closed with one of these
  menus selected.

  Help!!!

  John W. Colby
  www.ColbyConsulting.com


  _______________________________________________
  AccessD mailing list
  AccessD at databaseadvisors.com
  http://databaseadvisors.com/mailman/listinfo/accessd
  Website: http://www.databaseadvisors.com

  _______________________________________________
  AccessD mailing list
  AccessD at databaseadvisors.com
  http://databaseadvisors.com/mailman/listinfo/accessd
  Website: http://www.databaseadvisors.com


More information about the AccessD mailing list