Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
RibbonX – Developer Environment
I am developing a dictator app in 2007.
What is the best approach to structure the RibbonX? For development, I need an easy and quick way to switch between 2 states: 1 – Only my custom tabs are visible. 2 – My custom tabs and all Mso tabs are visible. I can think of three options, but I am not happy with either one. Option 1: Work with two versions of xml – one for development and one for production. It does not satisfy the “quick and easy” requirement. Also, I will often need to switch to a full native ribbon even on production version. Option 2: With startFromScratch = False, have a toggle custom button (protected with password) to set getVisible of Mso tabs to True or False. This is really quick and easy, but it leaves behind (on my machine), an annoying Adobe Acrobat tab. I saw some posts that nobody had figured out yet how to hide Adobe add-in, let alone other add-ins which may exist on other machines. Option 3: With startFromScratch = True, now I will have to rebuild all the tabs and groups one-by-one, and then apply same technique as in option 2 to show / hide the rebuilt Office tabs. This technique will kill Adobe and any other add-in, but I am concern that this is an overkill. I hope that the RibbonX gurus can come up with a fourth and much better option. If option 3 wins, has anybody posted an xml which rebuilds the whole Ribbon? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
RibbonX – Developer Environment
Hi Dovy
I have info here http://www.rondebruin.nl/ribbon.htm Maybe you can use the example file in 3: Change the Ribbon with RibbonX and VBA code (Example workbooks) You can add a lll groups in theRibbonX <tab idMso="TabInsert" getVisible="GetVisible" / There are also dictator examples in 2: -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Dovy" wrote in message ... I am developing a dictator app in 2007. What is the best approach to structure the RibbonX? For development, I need an easy and quick way to switch between 2 states: 1 – Only my custom tabs are visible. 2 – My custom tabs and all Mso tabs are visible. I can think of three options, but I am not happy with either one. Option 1: Work with two versions of xml – one for development and one for production. It does not satisfy the “quick and easy” requirement. Also, I will often need to switch to a full native ribbon even on production version. Option 2: With startFromScratch = False, have a toggle custom button (protected with password) to set getVisible of Mso tabs to True or False. This is really quick and easy, but it leaves behind (on my machine), an annoying Adobe Acrobat tab. I saw some posts that nobody had figured out yet how to hide Adobe add-in, let alone other add-ins which may exist on other machines. Option 3: With startFromScratch = True, now I will have to rebuild all the tabs and groups one-by-one, and then apply same technique as in option 2 to show / hide the rebuilt Office tabs. This technique will kill Adobe and any other add-in, but I am concern that this is an overkill. I hope that the RibbonX gurus can come up with a fourth and much better option. If option 3 wins, has anybody posted an xml which rebuilds the whole Ribbon? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
RibbonX – Developer Environment
On Feb 25, 2:18*am, "Ron de Bruin" wrote:
Hi Dovy I have info herehttp://www.rondebruin.nl/ribbon.htm Maybe you can use the example file in 3: Change the Ribbon with RibbonX and VBA code (Example workbooks) You can add a lll groups in theRibbonX <tab idMso="TabInsert" getVisible="GetVisible" / There are also dictator examples in 2: -- Regards Ron de Bruinhttp://www.rondebruin.nl/tips.htm "Dovy" wrote in ... I am developing a dictator app in 2007. What is the best approach to structure the RibbonX? For development, I need an easy and quick way to switch between 2 states: 1 – Only my custom tabs are visible. 2 – My custom tabs and all Mso tabs are visible. I can think of three options, but I am not happy with either one. Option 1: Work with two versions of xml – one for development and one for production. It does not satisfy the “quick and easy” requirement. Also, I will often need to switch to a full native ribbon even on production version. Option 2: With startFromScratch = False, have a toggle custom button (protected with password) to set getVisible of Mso tabs to True or False. This is really quick and easy, but it leaves behind (on my machine), an annoying Adobe Acrobat tab. I saw some posts that nobody had figured out yet how to hide Adobe add-in, let alone other add-ins which may exist on other machines. Option 3: With startFromScratch = True, now I will have to rebuild all the tabs and groups one-by-one, and then apply same technique as in option 2 to show / hide the rebuilt Office tabs. This technique will kill Adobe and any other add-in, but I am concern that this is an overkill. I hope that the RibbonX gurus can come up with a fourth and much better option. If option 3 wins, has anybody posted an xml which rebuilds the whole Ribbon? Ron I am very familiar with your site. In fact, most of what I know about RibbonX custumization was obtained from there. Thanks a million! I learned that I can use the getVisible on the complete original tabs, but only if I used startFromScratch = False, but that leaves Adobe add- in and possible others. It seems that I should use startFromScratch = True, then rebuild the original ribbon as custom ribbon, then use getVisible to toggle it. My qustion before I roll up the sleeves is: Is there a way to bring back a Mso tab WITH all its groups in one go? I am afraid it has to be a tab by tab and group by group effort. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
RibbonX Customization Question | Excel Programming | |||
RibbonX Separator problem | Excel Programming | |||
Protected VBA vs RibbonX question | Excel Programming | |||
RibbonX: Problem with OnLoad | Excel Programming | |||
About Officemenu(RibbonX) | Excel Programming |