problem with group

V

venatir

Dear all,

I have a little problem with grouping. Please take a look at what I want
to do and let me know if is possible to implement. I have 2 rectangles
linked by a Connector tool. At the middle of the Connector tool I want
to put a little image (another shape) and make a group between Connector
and the Image shape. Until now everything is OK but the problem
appears when the rectangles are moved and the Connector is also moved
the Image shape remains at the initial position. I want Image shape to
move in the same time with Connector (to be always at the middle of
Connector). It is possible to have this behavior ?

Thanks a lot !
 
A

Al Edlund

you can of course place a connection point on your connector where you want
the additional shape to attach. I've done it with text shapes and then set
the gravity cell so that the text remains horizontal.
al
 
J

JuneTheSecond

Hi, venatir .

One idea might be to use control point of the connector.
Put formulas in the cell PinX and PinY of the image shape.
GUARD(Dynamic connector!BeginX+Dynamic connector!Controls.TextPosition)
GUARD(Dynamic connector!BeginY+Dynamic connector!Controls.TextPosition.Y)

Another idea might be to use Data Grafics.
Enter from menu Data, Edit Data Grafics.
But, this method has just icons from which you can select.

Regards.
JuneTheSecond

Now, visual calculation is more visual.
http://www.geocities.jp/visualcalculation/english/index.html
 
V

venatir

Hi Al, JuneTheSecond

Thanks a lot for your answers.

I will check both methods. What I forget to tell you before is that all
process (linking the objects, drop the new image from a file, and attach
the image to connector) are executed programmatically (C#).

Once again thanks !

Regards!
 

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