Author Topic: Turning off connection points with an User.IsHidden boolean cell  (Read 463 times)

0 Members and 1 Guest are viewing this topic.

Visisthebest

  • Hero Member
  • *****
  • Posts: 637
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.
Visio 2021 Professional

vojo

  • Hero Member
  • *****
  • Posts: 1670
Re: Turning off connection points with an User.IsHidden boolean cell
« Reply #1 on: March 25, 2022, 08:07:07 AM »
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.

Visisthebest

  • Hero Member
  • *****
  • Posts: 637
Re: Turning off connection points with an User.IsHidden boolean cell
« Reply #2 on: March 25, 2022, 08:18:25 AM »
Good to know hopefully there is a way to get it to work with newer Visio versions, somewhow.
Visio 2021 Professional

Visisthebest

  • Hero Member
  • *****
  • Posts: 637
Re: Turning off connection points with an User.IsHidden boolean cell
« Reply #3 on: March 25, 2022, 08:25:07 AM »
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!
Visio 2021 Professional