A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Visio
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Glue on 2D shape instead of connector?



 
 
Thread Tools Display Modes
  #1  
Old April 15th, 2009, 05:41 PM posted to microsoft.public.visio.general
Veengrd
external usenet poster
 
Posts: 2
Default Glue on 2D shape instead of connector?

Hi everyone, I think this is pretty simple question, but I can't seem to find
the answer anywhere.

I've written some VBA code to traverse a flow chart and highlight 2D shapes
ahead of a selected 2D shape. The code works, but I can't get code to
respect the direction of my connections. The reason for this is that static
and dynamic line connections always flag the line as having glue on both
ends, with no glue being on the 2D objects. Thus, whenever I use the
..FromConnects in my VBA code it returns ALL connections, not just the next
ones ahead in my flow chart.

I've tried setting connection points on my lines to inward and outward at
each respective end, but I can't seem to get an Inward connection on a 1D
object to connect to an Outward point on a 2D object. I can get it to work
if I use 2D shapes to connect to each other instead of lines, but it looks
really ugly in the flow chart.

What am I missing here?! Thanks to anyone who can help. :-)
  #2  
Old April 15th, 2009, 07:32 PM posted to microsoft.public.visio.general
Veengrd
external usenet poster
 
Posts: 2
Default Glue on 2D shape instead of connector?



"Veengrd" wrote:

Hi everyone, I think this is pretty simple question, but I can't seem to find
the answer anywhere.

I've written some VBA code to traverse a flow chart and highlight 2D shapes
ahead of a selected 2D shape. The code works, but I can't get code to
respect the direction of my connections. The reason for this is that static
and dynamic line connections always flag the line as having glue on both
ends, with no glue being on the 2D objects. Thus, whenever I use the
.FromConnects in my VBA code it returns ALL connections, not just the next
ones ahead in my flow chart.

I've tried setting connection points on my lines to inward and outward at
each respective end, but I can't seem to get an Inward connection on a 1D
object to connect to an Outward point on a 2D object. I can get it to work
if I use 2D shapes to connect to each other instead of lines, but it looks
really ugly in the flow chart.

What am I missing here?! Thanks to anyone who can help. :-)


Ok, nevermind, I found this other post that pretty much outlines how to
solve this problem. If anyone's interested it's here...

http://www.microsoft.com/communities...=en-us&m=1&p=1
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:27 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.