Toggle visibility of grouped shapes (W/P)

Modified on Mon, 5 Oct at 1:54 PM

BaseExtensions can be used to toggle visibility of shapes in a selected and grouped shape in both PowerPoint and Word. It is necessary that the names for the shapes start with "Toggle_". The feature can sort numerically and alphabetically, which means you can write 1, 2, 3, etc., a, b, c, etc. or even 1a, 1b, 2a, 2b, etc. after the underscore.

This feature toggles between all shapes in the selected group named "Toggle_x". If no grouped shape is selected, the feature will prompt the user with a dialog box stating that nothing is selected.

Module is located here:

Code
...\ModuleLibrary\BaseExtensions\01_nocontext_Tools\63_WP_toggleShapeVisibility.xml

CMD

<Cmd case="BaseExtensions:toggle-shape-visibility" prefix="x"/>

Parameter

prefix

Define a prefix that matches the name of the grouped shape. This enables to have many modules doing multiple toggles for the same selection. In this way, we are able to define several toggle groups with several buttons.

reverse

Define which direction this feature should toggle. If this parameter is set to false or omitted, it will toggle right, and if the parameter is set to true, it will toggle reverse.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article