Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Bi-Direction Arrow Display and ... (Read 1709 times)
parkwonwoo
Junior Member
**
Offline


Open the Podbay Doors
HAL!

Posts: 61
Joined: Dec 8th, 2006
Bi-Direction Arrow Display and ...
Dec 27th, 2006 at 4:03am
Print Post  
Hi.

I neet to Create Bi-Direction Arrows(ie. Two Array that Reverse directional for each) between the 'same' Origin Box and Destination Box.

My Code:
Code
Select All
 arr1:=FCX.CreateArray(box1, box2);
 arr2:=FCX.CreateArray(arr1.DestinationBox, arr1.OrigonBox);
 


It's not difficult, But Two Arrays are overrapped.

Because of Overrap, selection of each arrow is seems to be impossible.

I need paralled Display of Arrows between with the two boxes.

Is it possible?

Thanks in advances.
  

OS: WinXP sp2&&RAD: Borland Delphi7, C++Builder6, JBuilder9&&FrameWork: VCL+Win32 or J2SE&&FCX: FCX 4.1.x
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Bi-Direction Arrow Display and ...
Reply #1 - Dec 27th, 2006 at 6:48am
Print Post  
You will need to use the CtrlPtX/CtrlPtY indexed properties to explicitly set the positions of the end point, so that the arrows do not overlap. E.g. if each arrow has two control points and is horizontal, you could offset just the Y coordinates a bit.

Code
Select All
arr1.CtrlPtY[0] = arr1.CtrlPtY[0] - 5;
arr1.CtrlPtY[1] = arr1.CtrlPtY[1] - 5;
arr1.Update();
 



and same for arr2 but with a +5 offset.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint