If you're interested in why I would want to do this, read on... but the
question above is all I need.
I have a legend on my drawing that allows the user to show or hide
layers by double-clicking items in the legend. My problem was this: the
shapes in the layer would only be hidden if ALL the layers of which
they are members are hidden. But I want to hide everything in the
layer, disregarding the membership of other layers.
So I figured the only way to do that would be to turn certain cells of
each shape in the layer to "True", including Geometry1.NoShow,
HideText, and NonPrinting. This accomplishes what I want, with one
exception: The connection points of each shape are still visible. Is
there some way to hide them as well?
Menu View --> Connection Points
works on a per document basis though.
--
Regards, Paul Herber, Sandrila Ltd. http://www.pherber.com/
Electronics for Visio http://www.electronics.sandrila.co.uk/
Ok, thanks for the help
Application.ActiveWindow.ShowConnectPoints = True
Application.ActiveWindow.ShowConnectPoints = False
You can find code / logic for any UI component by recording macro for that
particular feature.
Thanks
Shahzad Godil
Karachi-Pakistan.
<joeg...@gmail.com> wrote in message
news:1154625305....@i42g2000cwa.googlegroups.com...
John... Visio MVP
Need stencils or ideas? http://www.mvps.org/visio/3rdparty.htm
Need VBA examples? http://www.mvps.org/visio/VBA.htm
Common Visio Questions http://www.mvps.org/visio/common_questions.htm
Visio Wishlist http://www.mvps.org/visio/wish_list.htm
"Shahzad Godil" <shahza...@gmail.com> wrote in message
news:OJZaPRJu...@TK2MSFTNGP06.phx.gbl...