Losing Reference on NearestPointToPath function

Started by DaBorstel, January 25, 2018, 10:30:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DaBorstel

Hy,

I´ve created a shape and whant to move my control point around it.
I followed the description (http://unmanagedvisio.com/moving-control-point-along-path-in-visio/) and it´s working fine.
I then moved it to a Shape master and it´s working in the master window.
As soon as I insert it into a drawing, it´s not working anymore.
When i move the control point the function NearestPointToPath returns a #Ref.
By entering just this line in the shapesheet and presseing enter, its working again (for this copy of the master), without making any change to a line.

Can anybody help me?

Thanks
Stefan

I´m using Visio Standard 2010 with Win7

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: 132 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1049KB.
Tokens: post-login.
Cache hits: 13: 0.00243s for 26,602 bytes (show)
Cache misses: 3: (show)
Queries used: 16.

[Show Queries]