Re: Shapes with Alternate Views

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Sat, 1 Mar 2008 13:30:02 -0800, WapperDude
<WapperDude@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

I would like to modify some shapes that I've created to have selectable
views. Is there a good reference that indicates how to do this? I am making
a set of shapes to create audio components for rack mounting. For each
component, I would like to switch between front and rear views. This would
be similar to the electrical symbols, e.g., a resistor, that allows you to
select different views for fixed or variable resistance.

The way to do this is to create separate geometry sections (see the
shape's shape***) for each part that needs to be made
visible/invisible.
Each geometry section has a Visible attribute, you need to add an
Actions section to the shape, the action will give you a right-click
menu to which you can add the controls to
a. toggle the visible attributes of the geometry sections
b. toggle the tick on your new menu.

Have a look in the Visio SDK and look in detail at the various shapes
that have one of these added menus. there are plenty within the
standard Visio shapes.



--
Regards, Paul Herber, Sandrila Ltd.
Electronics for Visio http://www.electronics.sandrila.co.uk/
.


Quantcast