Unlock Visio's Default Shape /Layer Properties

Started by davidoff, February 04, 2009, 09:50:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

davidoff

Dear All,
is there any way to unlock the Shape Protection for default shapes from standart stencils ?

thanks

Paul Herber

Best way I can think of is to create a handler for the ShapeAdded event, when the shape gets added to the page you can then change the shape protection.

The standard stencils are not editable, unless you copy them to a new location, then do any editing and move them back.

Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

Visio Guy

Merhaba davidoff,

Paul brings up a big question: Do you want to edit the standard stencils themselves, or just masters/shapes that have been dropped on a page?

For shapes, there are several things to look for. You probably know this, but just in case someone else is reading this, I'll go into more detail:

At the group level, you have the Protection.LockGroup cell, which prevents sub-shapes from being deleted (and drives shape developers crazy!)

For sub-shapes, there is Protection.LockDelete.

So you have to think about the group-level and the sub-shape level.

For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010