Visio Guy

Visio Discussions => ShapeSheet & Smart Shapes => Topic started by: Visisthebest on March 25, 2022, 10:49:28 AM

Title: Turning off connection points with an User.IsHidden boolean cell
Post by: Visisthebest on March 25, 2022, 10:49:28 AM
For showing and hiding subshapes, I use a very useful idea from VisioGuy's article:

http://www.visguy.com/2006/09/05/the-hidden-world-of-visio-shapes/

With a User.IsHidden boolean shapesheet cell set to TRUE:
1. The width and heigth of a subshape is turned to size 0
2. HideText is also set to TRUE

The connection points are not turned off however. Is there a formula I can use somewhere to turn off connection points as well?

That would complete the solution for showing and hiding (sub)shapes, at least for my purposes.
Title: Re: Turning off connection points with an User.IsHidden boolean cell
Post by: vojo on March 25, 2022, 01:07:07 PM
my blade post about a week ago, had a shape that did that...worked great up until visio 2010 or so...does seem to work now.

The behavior was tied to the issnaptarget cell.
Title: Re: Turning off connection points with an User.IsHidden boolean cell
Post by: Visisthebest on March 25, 2022, 01:18:25 PM
Good to know hopefully there is a way to get it to work with newer Visio versions, somewhow.
Title: Re: Turning off connection points with an User.IsHidden boolean cell
Post by: Visisthebest on March 25, 2022, 01:25:07 PM
Thank you Vojo just tried it and it works great for me in Visio 2019 with latest updates installed!

Worried if there is an issue with other versions thought but it does work beyond Visio 2010 at least on 2019!