Author Topic: Add Rectangle Shape to Connector  (Read 14958 times)

0 Members and 1 Guest are viewing this topic.

vojo

  • Hero Member
  • *****
  • Posts: 1515
Re: Add Rectangle Shape to Connector
« Reply #15 on: July 07, 2008, 08:00:01 AM »
yes....basically took his stencil and made enhancements and such.   He did some real nice work.

You know...you could put a control on the line so that you set where it intercepts the line and put a control on the text box so that you can place that as you wish.   would make it more universal.

snsisk

  • Jr. Member
  • **
  • Posts: 32
Re: Add Rectangle Shape to Connector
« Reply #16 on: July 07, 2008, 01:44:20 PM »

Attached is my first cut at a curved lined connector with a text box shadow.  I'm sure flaws exist in my approach.  Feel free to provide feedback on methods or techniques to improve the shape.

Thanks,

Steve

Visio Guy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1716
  • Smart Graphics for Visual People...n' Stuff
    • Visio Guy
Re: Add Rectangle Shape to Connector
« Reply #17 on: July 07, 2008, 03:08:02 PM »
Hi snsisk/Steve,

Looks like you set Selection to "Members First" instead of "Group Only" :)

Wanna keep the text level? Do this:

  • Open ShapeSheet for the text block
  • Insert > Section: Text Transform
  • In the TxtAngle cell, add this formula: = IF(BITXOR(Sheet.2!FlipX,Sheet.2!FlipY),1,-1)*Sheet.2!Angle
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

snsisk

  • Jr. Member
  • **
  • Posts: 32
Re: Add Rectangle Shape to Connector
« Reply #18 on: July 08, 2008, 10:50:01 AM »
Chris,

The purpose of the "members first" was to enable the double click to open the text box for the shape.  I'm sure a better technique exists, but I'm still new at this shape development thing.  If a better technique exists, please let me know so I can use the best approach.

Is the reference to Sheet.2 the master sheet or the rectangle sheet? 

Pardon my ignorance, but what exactly is the statement doing?

Thanks,

Steve
« Last Edit: July 08, 2008, 11:47:56 AM by snsisk »

Visio Guy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1716
  • Smart Graphics for Visual People...n' Stuff
    • Visio Guy
Re: Add Rectangle Shape to Connector
« Reply #19 on: July 08, 2008, 02:11:48 PM »
In the Format > Behavior dialog, there's a check box for Edit Group's Text. If you uncheck this, then the top-most sub-shape will take the text, instead of the group.
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

snsisk

  • Jr. Member
  • **
  • Posts: 32
Re: Add Rectangle Shape to Connector
« Reply #20 on: July 14, 2008, 10:28:13 AM »
VisioGuy,

What is this statement (=IF(BITXOR(Sheet.2!FlipX,Sheet.2!FlipY),1,-1)*Sheet.2!Angle) doing?  Checking for portrait vs. landscape?

Thanks,

Steve

Visio Guy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1716
  • Smart Graphics for Visual People...n' Stuff
    • Visio Guy
Re: Add Rectangle Shape to Connector
« Reply #21 on: July 14, 2008, 11:48:38 AM »
It anti-rotates the text.

The simple form is:

TxtAngle = -Angle

which makes a lot more sense, but it breaks down if the shape gets flipped, thus the extra junk.
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010