Author Topic: Connectors Stop Working when AutoSize Makes Sheet Negative  (Read 3962 times)

0 Members and 1 Guest are viewing this topic.

amybrowngreer

  • Newbie
  • *
  • Posts: 3
Connectors Stop Working when AutoSize Makes Sheet Negative
« on: August 23, 2016, 03:15:33 PM »
I have some custom stencils, and the snap/glue would randomly stop working.  I have narrowed down the problem and replicated (consistently) in a small test case.

In the attached stencil, I have a simple block with connectors on each side (one of VISIO's default blocks and I just reset the connection type to 2).  I can drag blocks on and they snap to connection points with no problem, until the sheet auto sizes.  If the sheet auto sizes in a positive direction (to the right or top), I can continue to drop on blocks and their connectors work.  However, if I drag blocks on to the left and force an auto-size in the negative direction, the connectors stop working.  Some, like boxes on the right side of the sheet still have connectors that work, but new boxes in the negative page area do not work.

Ultimately, my stencil will go to users who may not be the most technologically savy, and having the connection points only work periodically will be a major pain.  If there are any work arounds (like some sort of VBA command I could execute on shape drop to "refresh" the connectors), I would be happy to hear them.

Thanks for your help.

amybrowngreer

  • Newbie
  • *
  • Posts: 3
Re: Connectors Stop Working when AutoSize Makes Sheet Negative
« Reply #1 on: August 25, 2016, 08:59:46 AM »
I found that resetting the ruler origin to zero made the connectors start working again.  In the attached stencil, I call VBA code on drop and modify to automatically reset the ruler. 

It appears to also fix the connectors if you go into View - Show (expand the options) and then set Ruler zero to 0.