Problem with copy and paste adding reference to Shapesheet

P

peter.barnfield

I'm using Visio 2003, and have made my own version of the "Dynamic
Connector". My master has the standard Dynamic Connector converted to
a group and then has two text items added to the group; one at each
end of the connector. I have done this so in order to get automated
text on each end of the connector. In the shapesheet for the text
items, I have set the PinX and PinY cells with a reference to the
start and end of the dynamic connector shape that is part of the group
so that the text boxes are "locked" to the ends of the connector when
it is moved on the page. The height and width cells of the text items
are just constant values (no reference). The shape works perfectly on
the page, but when I make a copy and paste of the shape, if I look at
the shapesheet for the text items, Visio seems to have added a
reference to the dynamic connector line in the height and width cells
of the text boxes instead of the constant values (in some instances
this can make the text appear in very unusual locations on the page).
Strangely enough, if I make a copy of the shape by dragging with CTRL,
it doesn't seem to do this.

Can anyone help me please!!!

Thanks,
Peter.
 
J

John

Hello Peter,

When you add the text box shapes to your Dynamic Connector group shape Visio
over writes the Width and Height cells with a multiple formula of the
parent's Width and Height.

To change this behaviour open the Dynamic Connector Master and change the
Width / Height cell formulas of the text shapes to: "=10mm" or what ever
your respective constant figure needs to be.

Hope that helps.

Best regards

John
 
J

John

Have just read Mark's reply to your post in the developer group and of he's
right you do need the GUARD() function.

ctrl+drag appears to duplicate the shape rather than copy/paste it which I
guess accounts for the diffence in behaviour although not the reason!

Best regards

John
 
B

Barney

Yes, I have got Print Zoom set to 100% - Would this cause a problem?

I have fixed the problem using the GUARD() function, but I don't
understand why it is overwriting these cells in the first place when I
copy and paste the shape.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top