Can I auto change color of a shape in Visio by double clicking?

  • Thread starter Mike_ChurchDwight
  • Start date
M

Mike_ChurchDwight

I am trying to simulate an HMI for a process control application in Visio for
a demonstration to some of our R&D group. In particular, I want to try to
automatically change color of a shape by double clicking it without going
through another dialog box selection. The template will show 18 washing
machines in yellow. By double clicking, I would like to see the selected
shapes out of the 18 turn green. If this is possible, can I toggle back to
yellow?

thanks
mike kelly
 
D

David Parker

The action of double-clicking a shape will deselect all other shapes.
However, if you were to have a custom property on each of these shapes that
listed the colours you want, then you could use the custom properties window
to change the color of all selected shapes.
Alternatively, you could have a right mouse actin on each of the shapes that
fired up code (eg VBA), which could then act on all of the selected shapes.
(The right mouse actio list will be that from the first selected shape)

Do you prefer to write ShapeSheet formulae or VBA code?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top