[AccessD] A2007 - Programmatically Minimize Ribbon

William Hindman wdhindman at dejpolsystems.com
Sat Feb 7 01:10:31 CST 2009


"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
> 




More information about the AccessD mailing list