Kamis, 17 Desember 2020

Re: [MSAccessProfessionals] Custom Ribbon not showing

On Thu, Dec 17, 2020 at 04:16 PM, Arnelito Puzon wrote:
each Form/Report has "Ribbon Name" property (Property->Other).
you put the name of your custom ribbon there.

On Thu, Dec 17, 2020 at 12:27 PM Bill Mosca <wrmosca@myself.com> wrote:
This is my first time using a custom ribbon and I can't get things to jive. You know, old dogs, new tricks stuff I guess.
 
The main ribbon is limited to just the Home tab. It uses XML that Daniel Pineault wrote years ago. That part works. Here is the XML:
 <ribbon startFromScratch="true"> 
  <tabs>
   <tab id="tabMain" label="Home">
    <group id="grpMain" label="Main">
     <button id="cmdHome" label="Home" onAction="OnActionButton" size="large" imageMso="OpenStartPage"/>
    </group>
   </tab>
  </tabs>
 </ribbon>
 </customUI>
 
 
In File tab >Options>current database, the ribbon is selected as the Ribbon Name. That ribbon loads as expected. 
 
All my reports have a different custom ribbon chosen as the report's ribbon. It has various buttons for printing, emailing as attachment, saving results to spreadsheet, etc. Each button calls a function. I used Gunter Aveniius's Ribbon Creator (2013-2016). All I really need is to it load onto the main ribbon, or even replace the main ribbon as long as the report is open in preview.
 
My problem is the report ribbon is not loading onto the main ribbon. The property Start from scratch is set to false. I've tried setting it to tru but that didn't make any difference.
--
Regards,
Bill Mosca, Founder - MS_Access_Professionals
Microsoft Office Access MVP 2010-2016
My nothing-to-do-with-Access blog
 

 

 


 
--
Arnelito G. Puzon


Arnelito - Thank you for taking the time to respond. I did put the name of the ribbon in the report's property sheet by selecting it from the dropdown. As far as I can see, I am not doing anything in VBA code that would block this custom ribbon.
 
--
Regards,
Bill Mosca, Founder - MS_Access_Professionals
Microsoft Office Access MVP 2010-2016
My nothing-to-do-with-Access blog
 
_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#115816) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [sugeng.panjalu.access@blogger.com]

_._,_._,_

Tidak ada komentar:

Posting Komentar