Rocky Smolin at Beach Access Software
rockysmolin at bchacc.com
Tue Feb 10 23:28:29 CST 2009
David: Got your sample. Thank you. It works as advertised. What I was trying to do was minimize versus disappear the tool bar. Because during development I need that minimized toolbar to get to form view, code view, etc. And (more importantly) the client asked to have the app open always with the toolbar minimized. But I think that I will use your code and open the app with the toolbar disappeared, and put an invisible label at the lower left and lower right for me to click to make the toolbar appear and disappear. Walla, best of both worlds. Thanks and regards, 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 David McAfee Sent: Tuesday, February 10, 2009 1:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2007 - Programmatically Minimize Ribbon Rocky, want to try my sample out and see if it works on your box? On Fri, Feb 6, 2009 at 11:10 PM, William Hindman <wdhindman at dejpolsystems.com> wrote: > "truly annoying to developers" jc > > ...they succeeded beyond their wildest dreams :( > > William > > -------------------------------------------------- > From: "jwcolby" <jwcolby at colbyconsulting.com> > Sent: Thursday, February 05, 2009 2:27 PM > To: "Access Developers discussion and problem solving" > <accessd at databaseadvisors.com> > 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 >> > > -- > 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