CODE to CONTROL the SHOW OR HIDE TABS (RIBBONS) . . .
2023-05-08-145915
All --
I have a customer that would like to SIMPLIFY the IMAGE-PRO INTERFACE as much as possible.
If the SHOW OR HIDE TABS FEATURE of IMAGE-PRO is accessed with a RIGHT CLICK on a TAB as shown here
then if all of the TABS except for APPS are DESELECTED then IMAGE-PRO appears as shown here.
Is there a way to SELECT (SHOW) and DESELECT (HIDE) the TABS in IMAGE-PRO using CODE?
I turned on the RECORD MACRO and worked with the SHOW OR HIDE TABS and nothing appeared in the RECORDED MACRO.
It looks like it can be done with a LAYOUT FILE as shown below.
Public Function NewMacro3() As SimpleScript NewMacro3 = New SimpleScript With Application.RibbonCommands.SelectRibbonTab(NewMacro3) .TabName = "View" .Run() End With With New LoadToolsLayout(NewMacro3) .FileName = "C:\Users\Owner\Desktop\111.Layout" .Run() End With End Function
Is there CODE that will SHOW or HIDE each TAB (RIBBON) individually?
Thanks.
0
Best Answers
-
Hi Matt,
Show/hide tabs or groups are not recordable. I'll file a feature request to create commands.
The information about hidden commands is stored in .Layout file. You can package predefined .Layout file with .ipx file a load it then IP or app stars.
Thanks,
Nikita.0
Answers
-- Matt