D
Daniel Shookowsky
OK, I've pretty much given up on any Visio event allowing me to undo an
operation. As mentioned in an earlier post, I've disabled my UserControl
in .NET, but that has the side effect of preventing scrolling or viewing
different pages.
I did a quick test with layers, adding all of the shapes to a layer and
locking it/unlocking it depending on the checked-out state of the file.
Piece of cake and it works exactly the way I want....expect for one thing.
I need to prevent the user from adding new shapes while the layer is
locked and force any newly added shapes into the specified layer when it
is unlocked. I'm using a custom stencil, so I imagine that I can specify
a layer for each shape, but I can't for the life of me figure out how to
do this.
The $10,000,000 question:
How can I force my custom shapes into a specified layer?
Google searches have turned up nothing and the Visio Developer's
documentation is almost useless.
operation. As mentioned in an earlier post, I've disabled my UserControl
in .NET, but that has the side effect of preventing scrolling or viewing
different pages.
I did a quick test with layers, adding all of the shapes to a layer and
locking it/unlocking it depending on the checked-out state of the file.
Piece of cake and it works exactly the way I want....expect for one thing.
I need to prevent the user from adding new shapes while the layer is
locked and force any newly added shapes into the specified layer when it
is unlocked. I'm using a custom stencil, so I imagine that I can specify
a layer for each shape, but I can't for the life of me figure out how to
do this.
The $10,000,000 question:
How can I force my custom shapes into a specified layer?
Google searches have turned up nothing and the Visio Developer's
documentation is almost useless.