Visio Guy

Visio Discussions => ShapeSheet & Smart Shapes => Topic started by: DaBorstel on January 25, 2018, 05:30:22 AM

Title: Losing Reference on NearestPointToPath function
Post by: DaBorstel on January 25, 2018, 05:30:22 AM
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