×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Add 2nd label to Connector

Add 2nd label to Connector

Add 2nd label to Connector

(OP)
You know how if you join 2 shapes with Connector tool and on the connector line if you select it & press F2 you can add text associated with the Connector tool shape?

How can I add a 2nd one of these text boxes to this Connector line. This is so I can label both ends of the connector line. I don't really want to create a text box and group it to the Connector line because this has different (& not desired) behaviour to the text which is part of the Connector line.

Regards, MH
 

RE: Add 2nd label to Connector

The basic philosphy for Visio is one text block per shape. If a shape requires independant text blocks, like one at either end of a line, then you will have to group the shapes. Of course, one you add a new text block, you also add a new text transform section and you can set the transform section to be dependant on the groups end points. Move the end of the line and the text block should maintain the same relative position to it.

 

John...   Visio MVP - Visio.MVPs.org

RE: Add 2nd label to Connector

Okay, a little more detail.

Create a text block and group it with the dynamic connector.
Select the dynamic connector within the group and use Format --> Special.. from the menu. At the top of the dialog is an Id #, remember it, that will be the shapesheet number.
Open the Text Block Shapesheet. Delete the Geometry section.
In the Shape Transform Section, set the Width to Guard(TextWidth(TheText)) and the Height to a constant value so it no longer relies on the height of the grouped shape.
Set the PinX and PinY to Sheet.x!BeginX and Sheet.x!Begin Y where "x" is he shape sheet number of the Dynamic connector. (You can also use EndX and EndY). You may want to add a constant to adjust the offset.
 

John...   Visio MVP - Visio.MVPs.org

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close