Rocky Smolin at Beach Access Software
rockysmolin at bchacc.com
Thu Feb 5 13:53:52 CST 2009
You see, I knew there was a reasonable explanation. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, February 05, 2009 11:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2007 - Programmatically Minimize Ribbon > Any ideas what's going on? Simple really, MS is DAMNED PROUD of their ribbon and is making sure that you see it! They spent several million dollars on usability studies to make sure that the ribbon was useful to power users and spent about another 10 million or so to make sure that it was truly annoying to developers, and they aren't about to let their investment slip through their fingers! John W. Colby www.ColbyConsulting.com Rocky Smolin at Beach Access Software wrote: > Stuart: > > Well, dang. It doesn't work. I put Call MinimizeRibbon in the _Open event, > but the ribbon ended up maximized anyway. SO I moved it right at the end > of the _Open event on the theory that maybe some of the housekeeping > (resizing the form, maximizing the form, etc.) was affecting the ribbon. > But no soap. > > So I moved it to the _Activate event. Same result. So I put MsgBox > RibbonMinimized in the RibbonMinimized Function to see what the value > was on the call. With the Call to MinimizeRibbon in the Activate > event, it gets called 3 times. Each time the value of RibbonMinimized > is True and the ribbon is indeed minimized. > > Then right at the end of the opening process, the ribbon re-appears. > > Ctrl-F1 from the keyboard toggles the ribbon nicely. And the code > looks like it should work. And I stepped through it just to see what > it was doing. > > Any ideas what's going on? > > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.e-z-mrp.com > www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com