Strange connector behavior

Started by Thomas Winkel, January 25, 2013, 04:40:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Thomas Winkel

Hi,

please have a look at the attached demo.
When I drag and drop the connector to a connection point of the square shape everything is OK.
But when I do the same with pressed Ctrl button (i.e. copy the connector) the other end of the connector automatically connects to the frame.

Can anybody explain this behavior?
What can I do to fix this?

Regards,
Thomas

Yacine

Would it be a problem if you put the frame on a background page?
Yacine

Thomas Winkel

Good idea, should be possible.
The issue with the frame comes from a colleague who is using my shapes (the frame comes from him).
I would like to understand where this behavior comes from.
Maybe other colleagues have other problems related to this issue...

Any idea?

9rey

Open ShapeSheet of your frame. You need to set a property "GlueType" of "Glue Info" section to "8" - visGlueTypeNoWalkingTo


Thomas Winkel

That's it.
Many thanks, 9rey!

I should really activate email notification next time...

novski

Hi
i wold like to reactivate this Topic to go deeper.
Can somebody describe what the differencies between the GlueType=1,2,4,8 are?
Thanks a lot
Novski

@Thomas, Thanks for the relink.

Surrogate

Quote from: MSDN




ValueDescriptionAutomation constant
&H0Default. Allow dynamic glue for the dynamic connector only; otherwise, use static glue. visGlueTypeDefault
&H1Allow dynamic glue.Obsolete in Visio 2002
&H2Allow dynamic glue.visGlueTypeWalking
&H4Do not allow dynamic glue.visGlueTypeNoWalking
&H8Do not allow this 2-D shape to be connected to with dynamic glue.visGlueTypeNoWalkingTo

novski

Hi surrogate, Thanks for the fast reply!
I also found that, but i don't understand the difference between NoWalking and NoWalkingTo and also the term "dynamic glue" i don't understand...

does somebody have a sample of what it means?

Thanks
Novski