News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Connectors Stop Working when AutoSize Makes Sheet Negative

Started by amybrowngreer, August 23, 2016, 08:15:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

amybrowngreer

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

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.

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 151 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1047KB.
Tokens: post-login.
Cache hits: 13: 0.00151s for 26,766 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]